-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
65 lines (60 loc) · 2.5 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
from os import path, walk
from glob import glob
from setuptools import setup, find_packages, Extension
this_directory = path.abspath(path.dirname(__file__))
#https://docs.python.org/2/extending/building.html
#https://stackoverflow.com/questions/24146840/how-do-i-package-for-distribution-a-python-module-that-uses-a-shared-library
# extensions = [Extension("twincons.ext_library",
# ["src/library.c"],
# depends=["src/library.h"],
# include_dirs=["src"],
# ),
# ]
with open(path.join(this_directory, "README.md"), encoding='utf-8') as fh:
long_description = fh.read()
with open(path.join(this_directory, 'requirements.txt'), encoding='utf-8') as f:
required = f.read().splitlines()
setup(
name='TwinCons',
version='0.6.1.dev0',
description='This projects provides several packages for analysis of MSAs comprised of two sequence groups.',
long_description = long_description,
long_description_content_type='text/markdown',
author='Petar Penev',
author_email='ppenev@gatech.edu',
url='https://github.com/petaripenev/AlignmentScore',
packages=find_packages(exclude=('tests', 'ROC', 'data', '.vscode', 'matrixAdjustments')),
python_requires='>=3.5',
install_requires=required,
#ext_modules=extensions,
data_files=[
('matrices', ['./matrices/LG.dat']),
('matrices/BLOSUM', glob('./matrices/BLOSUM/*.out', recursive=True)),
('matrices/structureDerived', glob('./matrices/structureDerived/*.dat', recursive=True)),
('matrices/jp', glob('./matrices/jp/*.dat', recursive=True)),
('twcPKL', [
'./data/PKL/BBS_lg_bgfr_cg0p9__cmsW9_nn__ts0p5_p20.pkl',
'./data/PKL/BBS_lg_bgfr_cg0p9__cmsW9_nn__ts0p5_p20.json',
]),
],
scripts = [
'./twincons/TwinCons.py',
'./twincons/twcCalculateSegments.py',
'./twincons/twcCrossValidate.py',
'./twincons/twcCrossValidateTrees.py',
'./twincons/twcParseAlnDatabase.py',
'./twincons/twcSVMtest.py',
'./twincons/twcSVMtrain.py',
'./twincons/twcTreesTrain.py',
'./twincons/twcTreesTest.py',
'./twincons/twcWrapper.py',
],
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
#python3 setup.py sdist bdist_wheel
#python3 -m twine check dist/*
#python3 -m twine upload --verbose --repository testpypi dist/*