-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (50 loc) · 1.59 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (50 loc) · 1.59 KB
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jul 22 12:18:53 2018
@author: Sven serneels, Ponalytics
"""
from setuptools import setup, find_packages
import re
import sys
import os
SRC_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),"./src")
if SRC_DIR not in sys.path:
sys.path.insert(0,SRC_DIR)
from direpack import __version__, __author__, __license__
readme_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md')
try:
from m2r import parse_from_file
readme = parse_from_file(readme_file)
except ImportError:
# m2r may not be installed in user environment
with open(readme_file) as f:
readme = f.read()
setup(
name="direpack",
version=__version__,
author=__author__,
author_email="svenserneels@gmail.com",
description="A Python 3 Library for State-of-the-Art Statistical Dimension Reduction Methods",
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/SvenSerneels/direpack",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages('src'), # include all packages under src
package_dir={'':'src'}, # tell distutils packages are under src
include_package_data = True,
install_requires=[
'numpy>=1.5.0',
'scipy>=0.8.0',
'matplotlib>=2.2.0',
'scikit-learn>=0.18.0',
'pandas>=0.19.0',
'statsmodels>=0.8.0',
# 'ipopt>=0.1.5',
'dcor>=0.3'
]
)