-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating version number + cleaning code
- Loading branch information
Showing
1 changed file
with
3 additions
and
6 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 |
---|---|---|
|
@@ -46,13 +46,9 @@ def main(): | |
# Parameters static files in relative files | ||
param_folder = 'parameters/' | ||
param_envs = [os.path.join(dp, f) for dp, dn, fn in os.walk(param_folder) for f in fn] | ||
print('\n'.join(list(map(str, [(os.path.dirname(rel_path), rel_path) for rel_path in | ||
param_envs + ['matpower_path.config'] if os.path.isfile(rel_path) and not '__pycache__' in rel_path])))) | ||
print([(os.path.dirname(rel_path), rel_path) for rel_path in | ||
param_envs + ['matpower_path.config'] if os.path.isfile(rel_path) and not '__pycache__' in rel_path]) | ||
|
||
setup(name='pypownet', | ||
version='2.2.0', | ||
version='2.2.9', | ||
description='A power network simulator with a Reinforcement Learning-focused usage.', | ||
author='Marvin Lerousseau', | ||
author_email='[email protected]', | ||
|
@@ -62,7 +58,8 @@ def main(): | |
license='LGPLv3', | ||
download_url='https://github.com/marvinler/pypownet', | ||
data_files=[(os.path.dirname(rel_path), [rel_path]) for rel_path in | ||
param_envs + ['matpower_path.config'] if os.path.isfile(rel_path) and not '__pycache__' in rel_path], | ||
param_envs + ['matpower_path.config'] if | ||
os.path.isfile(rel_path) and not '__pycache__' in rel_path], | ||
entry_points={'console_scripts': ['pypownet=pypownet.command_line:main']}, ) | ||
|
||
|
||
|