-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
76 lines (69 loc) Β· 2.45 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
# @Created Date: 2019-11-24 09:07:03 pm
# @Filename: setup.py
# @Email: [email protected]
# @Author: ZeFeng Zhu
# @Last Modified: 2023-03-30 01:26:56 pm
# @Copyright (c) 2019 MinghuiGroup, Soochow University
from setuptools import setup, find_namespace_packages, Extension
from Cython.Build import cythonize
import numpy
with open("README.md", "rt") as f:
readme = f.read()
setup(
name="pdb_profiling",
version='0.4.4',
include_package_data=True,
packages=find_namespace_packages(),
entry_points={'console_scripts': ['pdb_profiling=pdb_profiling.commands.command:Interface']},
install_requires=[
'aioftp>=0.18.1',
'aiohttp>=3.7.4',
'aiofiles>=0.6.0',
'unsync==1.2.1',
'tenacity>=6.3.0',
'orjson>=3.0.2',
'pyexcel>=0.6.4',
'pandas>=1.1.5',
'numpy>=1.19.2',
'textdistance>=4.2.0',
'databases[sqlite]==0.4.3',
'rich>=9.5.0',
'orm==0.1.5',
'typesystem==0.2.5',
'sqlalchemy==1.3.13',
'scikit-learn>=0.23.2',
'python-slugify>=4.0.0',
'cachetools>=4.1.0',
'click>=7.1.2',
'parasail>=1.2.4'
],
ext_modules=cythonize([
Extension("pdb_profiling.cython.cyrange", ["pdb_profiling/cython/cyrange.pyx"]),
Extension("pdb_profiling.cython.py_qcprot", ["pdb_profiling/cython/py_qcprot.pyx", "pdb_profiling/cython/qcprot.c"]),
], compiler_directives={"language_level": "3"}),
include_dirs=[numpy.get_include()],
license="MIT",
author_email="[email protected]",
maintainer="ZeFeng Zhu",
maintainer_email="[email protected]",
description="Profiling Protein Structures from Protein Data Bank and integrate various resources.πββοΈ",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/NatureGeorge/pdb-profiling",
python_requires=">=3.7",
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8"
],
)
"""
Packaged By
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
> https://packaging.python.org/tutorials/packaging-projects/
python setup.py build_ext --inplace
auditwheel repair pdb_profiling-0.2.7a9-cp38-cp38-linux_x86_64.whl
> https://pypi.org/project/auditwheel/
"""