-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
50 lines (45 loc) · 1.52 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, find_packages
from setuptools import setup
import os
import re
def readme():
with open('README.md') as f:
return f.read()
dependencies = [
'pandas>=0.16.0',
'numpy>=1.9.2',
'scipy>=1.6.0',
'statsmodels>=0.12.2',
'networkx>=2.5',
]
with open(os.path.join(os.path.dirname(__file__), "fixedeffect", "_version.py")) as file:
for line in file:
m = re.fullmatch("__version__ = '([^']+)'\n", line)
if m:
version = m.group(1)
setup(name='FixedEffectModel',
version=version,
description='Solutions to linear model with high dimensional fixed effects.',
long_description=readme(),
long_description_content_type="text/markdown",
author='ksecology',
author_email='da_ecology@kuaishou.com',
url='https://github.com/ksecology/FixedEffectModel',
packages=find_packages(),
install_requires=dependencies,
zip_safe=False,
license='MIT',
python_requires='>=3.6',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Sociology',
'Topic :: Scientific/Engineering :: Information Analysis',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: OS Independent',
]
)