-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update versioning system and clean up imports
Removed the separate version.py file and moved version directly into __init__.py for simplicity. Also, updated pyproject.toml to dynamically fetch the version from the package and streamlined imports by removing unnecessary warning suppressions.
- Loading branch information
Showing
3 changed files
with
52 additions
and
77 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 |
---|---|---|
|
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "PyTransit" | ||
version = "2.6.8" | ||
description = 'Fast and painless exoplanet transit light curve modelling.' | ||
authors=[{name='Hannu Parviainen', email='[email protected]'}] | ||
classifiers=[ | ||
|
@@ -21,13 +20,14 @@ keywords = ['astronomy', 'astrophysics', 'exoplanets'] | |
requires-python = ">= 3.8" | ||
readme = "README.md" | ||
license = {text = "GPLv2"} | ||
dynamic = ["dependencies"] | ||
dynamic = ["version", "dependencies"] | ||
|
||
[project.urls] | ||
homepage = 'https://github.com/hpparvi/PyTransit' | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
version = {attr = "pytransit.__version__"} | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
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
This file was deleted.
Oops, something went wrong.