forked from gboehl/econpizza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.3 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
from setuptools import setup, find_packages
from os import path
# get version from dedicated version file
version = {}
with open("econpizza/__version__.py") as fp:
exec(fp.read(), version)
# read the contents of the README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/gboehl/econpizza",
name='econpizza',
version=version['__version__'],
author="Gregor Boehl",
author_email="[email protected]",
description="Solve nonlinear perfect foresight models with heterogeneous agents",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
],
include_package_data=True,
packages=['econpizza', 'econpizza.parser',
'econpizza.utilities', 'econpizza.solvers'],
package_data={"econpizza": ["examples/*"]},
extras_require={
'linear': ['grgrlib>=0.1.22'],
},
install_requires=[
"jax>=0.4.13",
"jaxlib>=0.4.13",
"grgrjax>=0.4.4",
"pyyaml",
"scipy",
],
)