-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.15 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from setuptools import setup, find_packages
from sys import exit, version_info
from platform import python_version
if version_info < (3, 4):
print('Error: Python 3.4 required but found %s' % python_version())
exit(1)
if version_info < (3, 5):
install_requires = ['typing']
else:
install_requires = []
with open('README.rst', 'r') as infile:
long_description = infile.read()
setup(
name='pymple',
version='0.1.3',
description='A simple Inversion of Control container',
long_description=long_description,
author='Bernhard Posselt',
url='https://github.com/Raydiation/pymple',
install_requires=install_requires,
packages=find_packages(exclude=('tests',)),
license='GPL',
keywords=['pymple', 'ioc', 'inversion of control', 'container',
'dependency injection'],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later ('
'GPLv3+)',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries',
],
test_suite='tests',
)