-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (41 loc) · 1.39 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
import io
from skbuild import setup
with io.open("README.md", "rt", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
with io.open("CHANGELOG", "rt", encoding="utf-8") as f:
CHANGELOG = f.read()
LONG_DESCRIPTION += "\n\n\n##Changelog\n" + CHANGELOG
CMAKE_SETTINGS = [
"-DSEGMENTS_PYTHON_MODULE:BOOL=ON",
"-DSEGMENTS_BUILD_TESTS:BOOL=OFF",
"-DSEGMENTS_BUILD_BENCHMARK:BOOL=OFF",
]
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"Intented Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3,5",
"Programming Language :: Python :: 3.6",
"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 :: Scientific/Engineering :: Mathematics",
]
setup(
name="pysegments",
author="Sam Morley",
author_email="[email protected]",
version="0.3",
description="Tools for performing dyadic segmentation of data.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=["pysegments"],
package_dir={"pysegments": "pysegments"},
cmake_args=CMAKE_SETTINGS,
python_requires=">=3.5",
tests_require=["pytest"],
test_suite="pysegments/tests",
classifiers=CLASSIFIERS
)