-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
111 lines (98 loc) · 3.99 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# simplicial_test -- a python module to realize simplicial degree-size sequences
#
# Copyright (C) 2020-2021 Tzu-Chi Yen <[email protected]>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
""" Simplicial-test realizes a simplicial complex from a prescribed degree-size sequence (when feasible).
Simplicial-test provides a deterministic, backtracking-based search algorithm for the simplicial complex realization problem.
This is the software repository behind the paper:
- Construction of Simplicial Complexes with Prescribed Degree-Size Sequences, Tzu-Chi Yen (2021).
Read it on arXiv: https://arxiv.org/abs/2106.00185
👈 Please check the Project Links on the left for source code, documentation, discussion threads, etc.
All simplicial-test sdists and wheels distributed on PyPI are licensed under LGPL-3.0-or-later.
"""
from os.path import realpath, dirname, join
from setuptools import setup, find_packages
from simplicial_test import __version__
DOCLINES = (__doc__ or '').split("\n")
PROJECT_ROOT = dirname(realpath(__file__))
REQUIREMENTS_FILE = join(PROJECT_ROOT, 'requirements.txt')
with open(REQUIREMENTS_FILE) as f:
install_reqs = f.read().splitlines()
install_reqs.append('setuptools')
setup(
name='simplicial-test',
version=__version__,
description=DOCLINES[0],
long_description="\n".join(DOCLINES[2:]),
author='Tzu-Chi Yen',
author_email='[email protected]',
license='LGPLv3',
package_dir={"": "."},
packages=find_packages(where="."),
package_data={
'simplicial_test': [
'COPYING',
'COPYING.LESS',
'README.rst',
'requirements.txt',
]},
include_package_data=True,
install_requires=install_reqs,
extras_require={
'test': ['pytest'],
'docs': ['sphinx']
},
url='https://github.com/junipertcy/simplicial-test',
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
test_suite='pytest',
python_requires='>=3.7',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries',
],
keywords=[
'simplicial-test',
'simplicial complex',
'degree-size sequence',
'simplex',
'topological data analysis',
'topology',
'recursive algorithm',
'fixed-parameter tractable',
'realizability',
],
project_urls={
'Bug Tracker': 'https://github.com/junipertcy/simplicial-test/issues',
'Forum': 'https://github.com/junipertcy/simplicial-test/discussions',
'Source Code': 'https://github.com/junipertcy/simplicial-test',
'Documentation': 'https://docs.netscied.tw/simplicial-test/index.html',
'Benchmark': 'https://docs.netscied.tw/simplicial-test/dataset/benchmark.html'
},
)