forked from cfpb/college-costs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·57 lines (53 loc) · 2.13 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
import os
from setuptools import setup, find_packages
def read_file(filename):
"""Read a file into a string"""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError:
return ''
setup(
name='college-costs',
version='2.2.7',
author='CFPB',
author_email='tech@cfpb.gov',
maintainer='cfpb',
maintainer_email='tech@cfpb.gov',
packages=find_packages(),
package_data={'paying_for_college':
['data_sources/ipeds/*cleaned.csv',
'fixtures/*.json',
'templates/*.txt',
'templates/*.html',
'static/paying_for_college/disclosures/static/css/*.css',
'static/paying_for_college/disclosures/static/css/*.map',
'static/paying_for_college/disclosures/static/fonts/*.eot',
'static/paying_for_college/disclosures/static/fonts/*.svg',
'static/paying_for_college/disclosures/static/fonts/*.woff',
'static/paying_for_college/disclosures/static/fonts/*.ttf',
'static/paying_for_college/disclosures/static/js/*.htc',
'static/paying_for_college/disclosures/static/js/*.js',
'static/paying_for_college/disclosures/static/js/*.map',
'static/paying_for_college/disclosures/static/img/*.png',
'static/vendor/box-sizing-polyfill/boxsizing.htc'
],
},
include_package_data=True,
description=u'College cost tools',
classifiers=[
'Topic :: Internet :: WWW/HTTP',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
],
long_description=read_file('README.md'),
zip_safe=False,
setup_requires=['cfgov_setup==1.2',],
frontend_build_script='setup.sh'
)