forked from QuantEcon/QuantEcon.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (27 loc) · 1 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
from distutils.core import setup
import os
#-Write a versions.py file for class attribute-#
VERSION = '0.1.5'
def write_version_py(filename=None):
doc = "\"\"\"\nThis is a VERSION file and should NOT be manually altered\n\"\"\""
doc += "\nversion = '%s'" % VERSION
if not filename:
filename = os.path.join(
os.path.dirname(__file__), 'quantecon', 'version.py')
fl = open(filename, 'w')
try:
fl.write(doc)
finally:
fl.close()
write_version_py()
#-Setup-#
setup(name='quantecon',
packages=['quantecon', 'quantecon.models', "quantecon.tests"],
version=VERSION,
description='Core package of the QuantEcon library',
author='Thomas J. Sargent and John Stachurski (Project coordinators)',
author_email='[email protected]',
url='https://github.com/jstac/quant-econ', # URL to the github repo
download_url='https://github.com/jstac/quant-econ/tarball/0.1.5',
keywords=['quantitative', 'economics']
)