-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
63 lines (57 loc) · 1.97 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
58
59
60
61
62
63
# -*- coding: utf-8 -*-
import sys
import os
from setuptools import find_packages, setup
from pyquicksetup import read_version, read_readme, default_cmdclass
#########
# settings
#########
project_var_name = "actuariat_python"
versionPython = "%s.%s" % (sys.version_info.major, sys.version_info.minor)
path = "Lib/site-packages/" + project_var_name
readme = 'README.rst'
history = "HISTORY.rst"
requirements = None
KEYWORDS = [project_var_name, 'teachings', 'Xavier Dupré', 'actuariat']
DESCRIPTION = """Helpers for teaching purposes (includes sqllite helpers)"""
CLASSIFIERS = [
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Topic :: Education',
'License :: OSI Approved :: MIT License',
'Development Status :: 5 - Production/Stable'
]
#######
# data
#######
packages = find_packages('src', exclude='src')
package_dir = {k: "src/" + k.replace(".", "/") for k in packages}
package_data = {
project_var_name: ["*.xml"],
project_var_name + ".automation": ["*.r", "*.ico"],
project_var_name + ".data.data_elections": ["*.xls", "*.zip"],
project_var_name + ".data.data_population": ["*.xlsx", "*.xls"],
}
setup(
name=project_var_name,
version=read_version(__file__, project_var_name, subfolder='src'),
author='Xavier Dupré',
author_email='xavier.dupre@gmail.com',
license="MIT",
url="http://www.xavierdupre.fr/app/actuariat_python/helpsphinx/index.html",
download_url="https://github.com/sdpython/actuariat_python/",
description=DESCRIPTION,
long_description=read_readme(__file__),
cmdclass=default_cmdclass(),
keywords=KEYWORDS,
classifiers=CLASSIFIERS,
packages=packages,
package_dir=package_dir,
package_data=package_data,
setup_requires=["pyquicksetup"],
install_requires=[
"pyquickhelper>=1.10", "pyensae", "pymyinstall", "mlstatpy",
"scikit-learn", "pyrsslocal", "pandas", "numpy",
"matplotlib", "jupyter"],
)