forked from QuantEcon/QuantEcon.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (26 loc) · 960 Bytes
/
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
from distutils.core import setup
import os
#-Write a versions.py file for class attribute-#
VERSION = '0.1.6'
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='john.stachurski@gmail.com',
url='https://github.com/QuantEcon/QuantEcon.py', # URL to the github repo
keywords=['quantitative', 'economics']
)