Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassargent30 committed Feb 18, 2015
2 parents f075b14 + 4ec8120 commit 51d5930
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion quantecon/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
This is a VERSION file and should NOT be manually altered
"""
version = '0.1.6'
version = '0.1.7-2'
25 changes: 11 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,16 @@

VERSION = '0.1.7-2'


def write_version_py(filename=None):
doc = '''
"""
This is a VERSION file and should NOT be manually altered
This constructs a version file for the project
"""
version = "%s"
''' % VERSION

return doc

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')

filename = os.path.join(os.path.dirname(__file__), 'quantecon', 'version.py')

fl = open(filename, 'w')
try:
fl.write(doc)
Expand Down Expand Up @@ -100,7 +93,11 @@ def write_version_py(filename=None):
#~~~~~~~#

setup(name='quantecon',
packages=['quantecon', 'quantecon.models', "quantecon.tests"],
packages=['quantecon',
'quantecon.models',
'quantecon.models.solow',
'quantecon.tests',
],
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
Expand Down

0 comments on commit 51d5930

Please sign in to comment.