-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (39 loc) · 1.2 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
import sys
from setuptools import find_packages, setup
def main():
install_requires = [
'click',
'colorama; platform_system=="Windows"'
]
setup_requires = ['setuptools_scm']
if {'pytest', 'test', 'ptr'}.intersection(sys.argv):
setup_requires.append('pytest-runner')
tests_require = ['pytest']
setup(
name='tt2bf',
description='TruthTable to (minimal) BooleanFormula converter',
url='https://github.com/Lipen/tt2bf',
author='Konstantin Chukharev',
author_email='[email protected]',
license='GNU GPLv3',
python_requires='>=3.6',
package_dir={'': 'src'},
packages=find_packages('src'),
use_scm_version={
'write_to': 'src/tt2bf/version.py',
'version_scheme': 'post-release',
# 'local_scheme': lambda _: '',
'local_scheme': 'dirty-tag',
},
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
entry_points={
'console_scripts': [
'tt2bf = tt2bf:cli',
]
},
zip_safe=False,
)
if __name__ == '__main__':
main()