-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·77 lines (71 loc) · 2.34 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
69
70
71
72
73
74
75
76
77
# File: setup.py
# Date: 6-Oct-2018
#
# Update:
#
import re
from setuptools import find_packages
from setuptools import setup
packages = []
thisPackage = "wwpdb.apps.seqmodule"
with open("wwpdb/apps/seqmodule/__init__.py", "r") as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError("Cannot find version information")
setup(
name=thisPackage,
version=version,
description="wwPDB sequence module",
long_description="See: README.md",
author="Ezra Peisach",
author_email="[email protected]",
url="https://github.com/wwPDB/py-wwpdb_apps_seqmodule",
#
license="Apache 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
# 'Development Status :: 5 - Production/Stable',
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
#
install_requires=[
"wwpdb.utils.config >= 0.33",
"wwpdb.io >= 0.27",
"wwpdb.utils.session >= 0.14",
"wwpdb.utils.wf >= 0.30",
"wwpdb.utils.seqdb_v2 ~= 0.11",
"wwpdb.utils.align >= 0.11",
"wwpdb.utils.detach >= 0.4.2",
"wwpdb.utils.dp ~= 0.48",
"wwpdb.utils.db >= 0.28",
"rcsb.utils.multiproc",
],
packages=find_packages(exclude=["wwpdb.apps.tests-seqmodule", "mock-data"]),
# Enables Manifest to be used
# include_package_data = True,
package_data={
# If any package contains *.md or *.rst ... files, include them:
"": ["*.md", "*.rst", "*.txt", "*.cfg"],
},
#
# These basic tests require no database services -
test_suite="wwpdb.apps.tests-seqmodule",
tests_require=["tox"],
#
# Not configured ...
extras_require={
"dev": ["check-manifest"],
"test": ["coverage"],
},
# Added for
command_options={"build_sphinx": {"project": ("setup.py", thisPackage), "version": ("setup.py", version), "release": ("setup.py", version)}},
# This setting for namespace package support -
zip_safe=False,
)