-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
50 lines (42 loc) · 1.6 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
from setuptools import setup
from setuptools import find_packages
from os import path
# read the contents of requirements.txt
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'requirements.txt'), encoding='utf-8') as f:
requirements = f.read().splitlines()
with open(path.join(this_directory, 'requirements_tests.txt'), encoding='utf-8') as f:
requirements_tests = f.read().splitlines()
# read content of the readme
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
print(long_description)
def main():
setup(
name="changepoynt",
version="0.0.6",
author="Lucas Weber",
author_email="[email protected]",
url="https://github.com/Lucew/changepoynt",
description="Several change point detection methods implemented in python.",
long_description=long_description,
long_description_content_type='text/markdown',
zip_safe=False,
include_package_data=True,
packages=find_packages(exclude=['tests']),
install_requires=requirements,
dependency_links=[],
tests_require=requirements_tests,
extras_require={'test': requirements_tests},
setup_requires=[],
license="BSD License",
test_suite="tests",
classifiers=[
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering",
],
keywords='changepoint timeseries engineering'
)
if __name__ == '__main__':
main()