-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
81 lines (76 loc) · 2.54 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
78
79
80
81
# -*- coding: utf-8 -*-
# setup.py
import sys
from setuptools import setup, find_packages
from sfftk import SFFTK_VERSION
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
SFFTK_NAME = "sfftk"
SFFTK_AUTHOR = "Paul K. Korir, PhD"
SFFTK_AUTHOR_EMAIL = "[email protected], [email protected]"
SFFTK_DESCRIPTION = "Toolkit for working with EMDB-SFF and other segmentation file formats"
SFFTK_DESCRIPTION_CONTENT_TYPE = 'text/x-rst; charset=UTF-8'
SFFTK_URL = "https://emdb-empiar.github.io/EMDB-SFF/"
SFFTK_PROJECT_URLS = {
"Report Issues": "https://github.com/emdb-empiar/sfftk/issues",
"Documentation": "http://sfftk.readthedocs.io/en/latest/index.html",
"Souce Code": "https://github.com/emdb-empiar/sfftk"
}
SFFTK_LICENSE = "Apache License"
SFFTK_KEYWORDS = "EMDB-SFF, SFF, segmentation"
SFFTK_CLASSIFIERS = [
# maturity
"Development Status :: 2 - Pre-Alpha",
# environment
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
# license
"License :: OSI Approved :: Apache Software License",
# os
"Operating System :: OS Independent",
# python versions
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Terminals",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup",
"Topic :: Utilities",
]
SFFTK_PYTHON3_INSTALL_REQUIRES = [
"sfftk-rw>=0.8.1", "numpy", "ahds", "styled", "mrcfile", "bitarray", "requests",
"mock", "numpy-stl", "gemmi",
]
if sys.version_info[1] == 5:
SFFTK_PYTHON3_INSTALL_REQUIRES += ["pyOpenSSL"]
setup(
name=SFFTK_NAME,
version=SFFTK_VERSION,
packages=find_packages(),
author=SFFTK_AUTHOR,
author_email=SFFTK_AUTHOR_EMAIL,
description=SFFTK_DESCRIPTION,
long_description=long_description,
long_description_content_type=SFFTK_DESCRIPTION_CONTENT_TYPE,
url=SFFTK_URL,
project_urls=SFFTK_PROJECT_URLS,
license=SFFTK_LICENSE,
keywords=SFFTK_KEYWORDS,
setup_requires=["numpy"],
install_requires=SFFTK_PYTHON3_INSTALL_REQUIRES,
classifiers=SFFTK_CLASSIFIERS,
python_requires=">=3.7",
entry_points={
'console_scripts': [
'sff = sfftk.sff:main',
]
},
package_data={
'sfftk': ['sff.conf'],
}
)