-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (52 loc) · 1.67 KB
/
setup.py
File metadata and controls
66 lines (52 loc) · 1.67 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/python
# -*- coding: utf-8 -*-
# "Author: Nathan Matare <nathan.matare@gmail.com>"
#
# """ Setup and Installation """
from setuptools import setup, find_packages
import versioneer
import os
name = 'pymatch'
maintainers = {'Nathan Matare': 'nathan.matare@gmail.com'}
# Should be one of:
# RELEASE_STATUS = 'Development Status :: 1 - Planning'
RELEASE_STATUS = 'Development Status :: 2 - Pre-Alpha'
# RELEASE_STATUS = 'Development Status :: 3 - Alpha'
# RELEASE_STATUS = 'Development Status :: 4 - Beta'
# RELEASE_STATUS = 'Development Status :: 5 - Production/Stable'
# RELEASE_STATUS = 'Development Status :: 6 - Mature'
# RELEASE_STATUS = 'Development Status :: 7 - Inactive'
PYTHON_VERSION = '==3.7.11'
with open('requirements.txt') as f:
install_requires = f.read().strip().split('\n')
install_requires = [os.path.expandvars(v) for v in install_requires]
tests_require = [
'pytest==6.2.4',
'versioneer==0.18',
'pre-commit==2.2.0',
'pyinstrument==4.1.1',
]
setup(
name=name,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author=set(maintainers),
author_email=set(maintainers.values()),
license=None,
url=f'https://github.com/nmatare/{name}/',
classifiers=[
RELEASE_STATUS,
'Intended Audience :: Developers',
f'Programming Language :: Python :: {PYTHON_VERSION}',
'Operating System :: OS Independent',
'Topic :: Utilities',
],
include_package_data=True,
package_data=None,
install_requires=install_requires,
packages=find_packages(),
python_requires=PYTHON_VERSION,
extras_require={'tests': tests_require},
zip_safe=False,
)
# EOF