-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
35 lines (31 loc) · 1 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
#!/usr/bin/env python
"""
Setup script for the CNFgen package
"""
from os import path
from setuptools import setup, find_packages
from cnfgen.info import info
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'PyPI.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=info['project'],
version=info['version'],
description=info['description'],
author=info['author'],
author_email=info['author_email'],
url=info['url'],
license=info['license'],
packages=find_packages(".", exclude=["tests"]),
entry_points={
'console_scripts': [
'cnfgen=cnfgen.clitools.cnfgen:main',
'pbgen=cnfgen.clitools.pbgen:main',
'cnfshuffle=cnfgen.clitools.cnfshuffle:main'
],
},
install_requires=['networkx>=2.3', 'pydot>=1.2.3'],
python_requires='>=3.6',
# Package long description in Markdown
long_description=long_description,
long_description_content_type='text/markdown')