-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
54 lines (46 loc) · 1.31 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import glob
import io
import os
import sys
from setuptools import setup, find_packages
with open('README.md') as rmfile:
readme = rmfile.read()
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
example_files = package_files('forecastcards/examples')
nb_files = package_files('forecastcards/notebooks')
print("EXAMPLE FILES",example_files)
requirements = [
'pandas==0.22',
'requests',
'goodtables',
'tableschema',
'graphviz',
'statsmodels',
'jupyter'
]
test_requirements = [
'pytest',
]
setup(
name='forecastcards',
version='0.1.0dev',
packages=find_packages(include=['forecastcards']),
long_description=readme,
author="Elizabeth Sall",
author_email='[email protected]',
url='https://github.com/e-lo/forecastcards',
include_package_data=True,
install_requires=requirements,
package_data={'forecastcards': example_files+nb_files},
tests_suite = 'tests',
scripts=['forecastcards/scripts/validate_cardset.py','forecastcards/scripts/validate_project.py'],
tests_require=test_requirements,
extra_compile_args = ['-std=c++11'],
)