-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
68 lines (57 loc) · 1.89 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Serpentine binning package for Hi-C contact maps
"""
from setuptools import setup, find_packages
CLASSIFIERS = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Artistic License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Visualization",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
name = "serpentine"
MAJOR = 0
MINOR = 1
MAINTENANCE = 3
VERSION = "{}.{}.{}".format(MAJOR, MINOR, MAINTENANCE)
LICENSE = "Artistic License 2.0"
URL = "https://github.com/koszullab/serpentine"
DESCRIPTION = __doc__.strip("\n")
with open("README.md") as f:
LONG_DESCRIPTION = f.read()
with open("requirements.txt", "r") as f:
REQUIREMENTS = f.read().splitlines()
with open("serpentine/version.py", "w") as f:
f.write("__version__ = '{}'\n".format(VERSION))
setup(
name=name,
author="[email protected]",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
version=VERSION,
license=LICENSE,
classifiers=CLASSIFIERS,
url=URL,
packages=find_packages(exclude=["demos"]),
install_requires=REQUIREMENTS,
include_package_data=True,
python_requires=">=3.4",
long_description_content_type="text/markdown",
entry_points={
"console_scripts": ["serpentine=serpentine.serpentine:_main"]
},
)