mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-09-15 22:10:25 +00:00
Add version.txt to package
This commit is contained in:
parent
98e05cf578
commit
73afaf157c
3 changed files with 6 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
Changelog
|
Changelog
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Pre-Release 0.6.0a (WIP)
|
Pre-Release 0.6.0a1 (WIP)
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
5
setup.py
5
setup.py
|
|
@ -4,7 +4,7 @@ import subprocess
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
with open(os.path.join('stable_baselines3', 'version.txt'), 'r') as file_handler:
|
with open(os.path.join('stable_baselines3', 'version.txt'), 'r') as file_handler:
|
||||||
__version__ = file_handler.read()
|
__version__ = file_handler.read().strip()
|
||||||
|
|
||||||
|
|
||||||
long_description = """
|
long_description = """
|
||||||
|
|
@ -70,6 +70,9 @@ model = PPO('MlpPolicy', 'CartPole-v1').learn(10000)
|
||||||
setup(name='stable_baselines3',
|
setup(name='stable_baselines3',
|
||||||
packages=[package for package in find_packages()
|
packages=[package for package in find_packages()
|
||||||
if package.startswith('stable_baselines3')],
|
if package.startswith('stable_baselines3')],
|
||||||
|
package_data={
|
||||||
|
'stable_baselines3': ['py.typed', 'version.txt']
|
||||||
|
},
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'gym[classic_control]>=0.11',
|
'gym[classic_control]>=0.11',
|
||||||
'numpy',
|
'numpy',
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
0.6.0a0
|
0.6.0a1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue