-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
52 lines (46 loc) · 1.96 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
48
49
50
51
52
import os
from setuptools import setup
PROJECT_ROOT, _ = os.path.split(__file__)
PROJECT_NAME = 'multiconf'
COPYRIGHT = u"Copyright (c) 2012 - 2019 Lars Hupfeldt Nielsen, Hupfeldt IT"
PROJECT_AUTHORS = u"Lars Hupfeldt Nielsen"
PROJECT_EMAILS = 'lhn@hupfeldtit.dk'
PROJECT_URL = "https://github.com/lhupfeldt/multiconf"
SHORT_DESCRIPTION = 'Python API providing a set of classes as basis for configuration objects with multiple values per attribute.'
LONG_DESCRIPTION = open(os.path.join(PROJECT_ROOT, "README.rst")).read()
_here = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(_here, PROJECT_NAME, 'py_version_check.py')) as ff:
exec(ff.read())
if __name__ == "__main__":
setup(
name=PROJECT_NAME.lower(),
author=PROJECT_AUTHORS,
author_email=PROJECT_EMAILS,
packages=['multiconf'],
package_dir={'multiconf': 'multiconf'},
zip_safe=True,
include_package_data=False,
python_requires='>=3.6.1',
install_requires=['typing-inspect>=0.4.0'],
use_scm_version=True,
setup_requires=['setuptools_scm>=6.3.2'], # NOTE: setuptools_scm is also in pyproject.toml!
url=PROJECT_URL,
description=SHORT_DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/x-rst',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: System :: Installation/Setup',
'Topic :: Software Development :: Testing',
],
)