-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
57 lines (49 loc) · 1.67 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
'''
Modern Statistics: A Computer Based Approach with Python
Industrial Statistics: A Computer Based Approach with Python
(c) 2022 Ron Kenett, Shelemyahu Zacks, Peter Gedeck
'''
from pathlib import Path
import setuptools
def getVersion():
f = Path(__file__).parent / 'src' / 'mistat' / 'version.py'
lines = f.read_text().split('\n')
version = [s for s in lines if '__version__' in s][0]
version = version.split('=')[1].strip().strip("'")
return version
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="mistat",
version=getVersion(),
author="Peter Gedeck",
author_email="[email protected]",
description="Utility functions for 'Modern Industrial Statistics'",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/gedeck/mistat",
packages=setuptools.find_packages("src"),
package_dir={'': 'src'},
package_data={
"mistat": ["csvFiles/*.csv.gz", "nlp/*.txt.gz"],
},
classifiers=[
"Programming Language :: Python :: 3",
# "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",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
'pyDOE3',
'diversipy',
'pingouin',
],
test_suite='nose.collector',
tests_require=['nose'],
)