-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (40 loc) · 1.51 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
39
40
41
42
43
44
45
46
47
from setuptools import setup, find_packages
from my_settings import __version__
INSTALL_REQUIRES = ()
EXTRAS_REQUIRE = {'dev': ('pytest==3.2.0', 'pdbpp==0.9.1')}
LONG_DESCRIPTION = '''
my_settings can load your settings from python module,
env variable and file path which has to lead to python module.
You can have three types of settings files:
1) primary(usually plays role of base settings file which is included in a project)
2) custom(your custom settings file for certain deployment case)
3) test(your settings file for tests)
all settings files overlap each other in this sequence: test -> custom -> primary
'''
setup(
name='my_settings',
author='Greg Eremeev',
author_email='[email protected]',
version=__version__,
description='Convenient and simple settings for any project',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/plain',
license='MIT',
packages=find_packages(),
url='https://github.com/GregEremeev/my_settings',
zip_safe=False,
python_requires='>=3.3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
platforms='any',
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
include_package_data=True,
)