-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #79: refactored repo to src style directory using pyproject.toml
- Loading branch information
1 parent
43417d3
commit 1d1b910
Showing
79 changed files
with
66 additions
and
49 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "bsk_rl" | ||
version = "0.0.0" | ||
authors = [ | ||
{name = "Adam Herrmann", email = "adam.herrmann@colorado.edu"}, | ||
{name = "Mark Stephenson", email = "mark.a.stephenson@colorado.edu"}, | ||
] | ||
description = "RL environments and tools for spacecraft autonomy research, built on Basilisk. Developed by the AVS Lab." | ||
readme = "README.md" | ||
requires-python = ">=3.9.0" | ||
license = {text = "MIT"} | ||
dependencies = [ | ||
"deap==1.3.3", | ||
"Deprecated", | ||
"gymnasium", | ||
"matplotlib", | ||
"numpy", | ||
"pandas", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-repeat", | ||
"requests", | ||
"scikit-learn", | ||
"scipy", | ||
"stable-baselines3", | ||
"tensorflow", | ||
"torch", | ||
] | ||
|
||
[project.scripts] | ||
finish_install = "bsk_rl.finish_install:pck_install" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,31 @@ | ||
import io | ||
import subprocess | ||
import requests | ||
import sys | ||
import zipfile | ||
from pathlib import Path | ||
|
||
|
||
def pck_install(): | ||
subprocess.check_call( | ||
[ | ||
sys.executable, | ||
"-m", | ||
"pip", | ||
"install", | ||
"git+https://github.com/chebpy/chebpy.git", | ||
] | ||
) | ||
|
||
r = requests.get( | ||
"https://simplemaps.com/static/data/world-cities/basic/simplemaps_worldcities_basicv1.76.zip" | ||
) | ||
z = zipfile.ZipFile(io.BytesIO(r.content)) | ||
z.extractall( | ||
Path(__file__).parent.resolve() | ||
/ "bsk_rl" | ||
/ "envs" | ||
/ "general_satellite_tasking" | ||
/ "scenario" | ||
/ "simplemaps_worldcities" | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.