-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
44 lines (37 loc) · 1.18 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
import sys
from setuptools import find_packages, setup
from cadnano_modifier.version import get_version
""" Modification of DNA Origami nano structure designed with caDNAno."""
with open("README.md", "r") as fh:
long_description = fh.read()
with open("LICENSE", "r") as fh:
license = fh.read()
v_python = sys.version_info
if (v_python.major <= 3) and (v_python.minor <= 7):
sys.exit('Sorry, Python < 3.7.0 is not supported')
setup(
name="cadnano_modifier",
python_requires=">=3.7.0",
version=get_version(),
author="Elija Feigl",
author_email="[email protected]",
description=__doc__,
license=license,
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/elija-feigl/cadnanoModifier",
packages=find_packages(),
include_package_data=True,
install_requires=(
'click <= 7',
),
classifiers=[
"Programming Language :: Python :: 3",
"License :: GNU General Public License Version 3",
"Operating System :: OS Independent",
],
entry_points='''
[console_scripts]
cadnanoModifier=cadnano_modifier.scripts.modify:cli
''',
)