-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #797 from rickecon/pip
Some PyPI packaging updates and other cleanup
- Loading branch information
Showing
9 changed files
with
105 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ | |
from ogcore.txfunc import * | ||
from ogcore.utils import * | ||
|
||
__version__ = '0.0.0' | ||
__version__ = '0.8.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools>=42"] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,56 @@ | ||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
import setuptools | ||
|
||
with open('README.md') as f: | ||
longdesc = f.read() | ||
with open("README.md", "r", encoding="utf-8") as fh: | ||
longdesc = fh.read() | ||
|
||
version = '0.8.0' | ||
|
||
config = { | ||
'description': 'A general equilibribum overlapping generations model for fiscal policy analysis', | ||
'long_description_content_type': 'text/markdown', | ||
'long_description': longdesc, | ||
'url': 'https://github.com/PSLmodels/OG-Core/', | ||
'download_url': 'https://github.com/PLSmodels/OG-Core/', | ||
'version': version, | ||
'license': 'CC0 1.0 Universal (CC0 1.0) Public Domain Dedication', | ||
'packages': ['ogcore'], | ||
'include_package_data': True, | ||
'name': 'ogcore', | ||
'install_requires': [ | ||
'mkl', 'psutil', 'scipy', 'pandas', 'matplotlib', 'dask', | ||
'distributed', 'paramtools'], | ||
'package_data': { | ||
'ogcore': [ | ||
'default_parameters.json', | ||
'data/ability/*', | ||
'data/demographic/*', | ||
'data/labor/*', | ||
'data/wealth/*'] | ||
}, | ||
'classifiers': [ | ||
'Development Status :: 2 - Pre-Alpha', | ||
'Intended Audience :: Developers', | ||
'Natural Language :: English', | ||
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Topic :: Software Development :: Libraries :: Python Modules'], | ||
'tests_require': ['pytest'] | ||
} | ||
|
||
setup(**config) | ||
setuptools.setup( | ||
name="ogcore", | ||
version="0.8.1", | ||
author="Jason DeBacker and Richard W. Evans", | ||
license="CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", | ||
description="A general equilibribum overlapping generations model for fiscal policy analysis", | ||
long_description_content_type="text/markdown", | ||
long_description=longdesc, | ||
url="https://github.com/PSLmodels/OG-Core/", | ||
download_url="https://github.com/PLSmodels/OG-Core/", | ||
project_urls={ | ||
"Issue Tracker": "https://github.com/PSLmodels/OG-Core/issues", | ||
}, | ||
packages=["ogcore"], | ||
package_data={ | ||
"ogcore": [ | ||
"default_parameters.json", | ||
"data/ability/*", | ||
"data/demographic/*", | ||
"data/labor/*", | ||
"data/wealth/*" | ||
] | ||
}, | ||
include_packages=True, | ||
python_requires=">=3.7.7", | ||
install_requires=[ | ||
"mkl>=2021.4.0", | ||
"psutil", | ||
"scipy>=1.7.1", | ||
"pandas>=1.2.5", | ||
"matplotlib", | ||
"dask>=2.30.0", | ||
"distributed>=2.30.1", | ||
"paramtools>=0.15.0", | ||
"requests" | ||
], | ||
classifiers=[ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Developers", | ||
"Natural Language :: English", | ||
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
], | ||
tests_require=["pytest"] | ||
) |