Skip to content

Commit

Permalink
Hotfix to enable the installation via Pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
bhk11 committed Nov 19, 2024
1 parent 181218a commit 5555196
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Changed
## Fixed

## [3.0.2] - 2024-11-19
## Added
## Changed
## Fixed
- Fixed the packaging in the pyproject.toml to successful instal gym-electric-motor from the pypi database

## [3.0.0] - 2024-11-18
## Added
- Support for Python 3.11, 3.12, 3.13
Expand Down
22 changes: 12 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gym_electric_motor"
version = "3.0.0"
version = "3.0.2"
authors = [
{ name = "Arne Traue" },
{ name = "Gerrit Book" },
Expand All @@ -25,29 +25,31 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["dependencies", "optional-dependencies"]
dynamic = ["dependencies"]

[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
optional-dependencies = { dev = { file = ["requirements-dev.txt"] } }
dependencies = {file = ["requirements.txt"]}

[project.urls]
Homepage = "https://github.com/upb-lea/gym-electric-motor"
Issues = "https://github.com/upb-lea/gym-electric-motor/issues"

[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"

[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]

[tool.hatch.build.targets.wheel]
packages = ["/src/gym_electric_motor", "/src/gem_controllers"]

[tool.hatch.build.targets.sdist]
packages = [
"/src/gym_electric_motor",
"/src/gem_controllers",
"/examples/classic_controllers",
"/tests",
include = [
"src/gym_electric_motor",
"src/gem_controllers",
"examples/classic_controllers",
"tests",
]

[tool.ruff]
Expand Down

0 comments on commit 5555196

Please sign in to comment.