-
Notifications
You must be signed in to change notification settings - Fork 114
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 #73 from jxx123/dependencies
Dependencies
- Loading branch information
Showing
1 changed file
with
10 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
from setuptools import setup | ||
|
||
|
||
def parse_requirements(filename): | ||
"""Load requirements from a pip requirements file.""" | ||
with open(filename) as f: | ||
lineiter = (line.strip() for line in f) | ||
return [line for line in lineiter if line and not line.startswith("#")] | ||
|
||
|
||
reqs = parse_requirements("requirements.txt") | ||
|
||
setup( | ||
name="simglucose", | ||
version="0.2.8", | ||
version="0.2.9", | ||
description="A Type-1 Diabetes Simulator as a Reinforcement Learning Environment in OpenAI gym or rllab (python implementation of UVa/Padova Simulator)", | ||
url="https://github.com/jxx123/simglucose", | ||
author="Jinyu Xie", | ||
author_email="[email protected]", | ||
license="MIT", | ||
packages=["simglucose"], | ||
install_requires=reqs, | ||
install_requires=[ | ||
"gym==0.9.4", | ||
"gymnasium~=0.29.1", | ||
"pathos>=0.3.1", | ||
"scipy>=1.11.0", | ||
"matplotlib>=3.7.2", | ||
"numpy>=1.25.0", | ||
"pandas>=2.0.3", | ||
], | ||
include_package_data=True, | ||
zip_safe=False, | ||
long_description=open("README.md").read(), | ||
|