-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
30 lines (26 loc) · 1.03 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
import glob
from setuptools import find_packages, setup
additional_files = []
for filename in glob.iglob('./wooldridge/**', recursive=True):
if '.csv.bz' in filename:
additional_files.append(filename.replace('./wooldridge/', ''))
for filename in glob.iglob('./wooldridge/**', recursive=True):
if '.txt' in filename:
additional_files.append(filename.replace('./wooldridge/', ''))
setup(
name='wooldridge',
version='0.4.5',
author='Tetsu Haruyama',
author_email='tetsu.yes@gmail.com',
packages=find_packages(),
package_dir={'wooldridge': './wooldridge'},
include_package_data=True,
package_data={'wooldridge': additional_files},
install_requires=['pandas'],
url='https://github.com/spring-haru/wooldridge',
license='LICENSE',
description='Data sets from Introductory Econometrics: A Modern Approach (7th ed, J.M. Wooldridge)',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
keywords=['data', 'wooldridge', 'econometrics']
)