Skip to content

Commit

Permalink
Merge pull request #36 from radionets-project/fix_pyproject-toml
Browse files Browse the repository at this point in the history
Fix package name and url in pyproject.toml
  • Loading branch information
aknierim authored Jul 31, 2024
2 parents d254e9f + 498c62a commit e8ebb96
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 119 deletions.
4 changes: 4 additions & 0 deletions docs/changes/36.maintenance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- fix package name and url in pyproject.toml
- remove obsolete setup.py
- fix setuptools find packages path in pyproject.toml
- fix formatting of pyproject.toml
124 changes: 61 additions & 63 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,88 +7,86 @@ name = "pyvisgen"
version = "0.2.0"
description = "Simulate radio interferometer observations and visibility generation with the RIME formalism."
readme = "README.md"
authors = [
{name = "Kevin Schmidt, Felix Geyer, Stefan Fröse"},
]
authors = [{ name = "Kevin Schmidt, Felix Geyer, Stefan Fröse" }]
maintainers = [
{name = "Kevin Schmidt", email = "[email protected]"},
{name = "Felix Geyer", email = "[email protected]"},
{ name = "Kevin Schmidt", email = "[email protected]" },
{ name = "Felix Geyer", email = "[email protected]" },
]
license = {text = "MIT"}
license = { text = "MIT" }
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Information Analysis",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Information Analysis",
"Development Status :: 4 - Beta",
]

requires-python = ">=3.10"

dependencies = [
"numpy",
"astropy<=6.1.0",
"torch",
"matplotlib",
"ipython",
"scipy",
"pandas",
"toml",
"pytest",
"pytest-cov",
"jupyter",
"astroplan",
"torch",
"tqdm",
"numexpr",
"click",
"h5py",
"natsort",
"pre-commit",
"numpy",
"astropy<=6.1.0",
"torch",
"matplotlib",
"ipython",
"scipy",
"pandas",
"toml",
"pytest",
"pytest-cov",
"jupyter",
"astroplan",
"torch",
"tqdm",
"numexpr",
"click",
"h5py",
"natsort",
"pre-commit",
]

[project.scripts]
pyvisgen_create_dataset = "pyvisgen.simulation.scripts.create_dataset:main"
pyvisgen_create_dataset = "pyvisgen.simulation.scripts.create_dataset:main"

[tool.setuptools.packages.find]
where = ["pyvisgen"]
where = ["."]

[tool.towncrier]
package = "ctapipe"
directory = "docs/changes"
filename = "CHANGES.rst"
template = "docs/changes/template.rst"
# let towncrier create proper links to the merged PR
issue_format = "`#{issue} <https://github.com/cta-observatory/ctapipe/pull/{issue}>`__"
package = "pyvisgen"
directory = "docs/changes"
filename = "CHANGES.rst"
template = "docs/changes/template.rst"
# let towncrier create proper links to the merged PR
issue_format = "`#{issue} <https://github.com/radionets-project/pyvisgen/pull/{issue}>`__"

[tool.towncrier.fragment.feature]
name = "New Features"
showcontent = true
[tool.towncrier.fragment.feature]
name = "New Features"
showcontent = true

[tool.towncrier.fragment.bugfix]
name = "Bug Fixes"
showcontent = true
[tool.towncrier.fragment.bugfix]
name = "Bug Fixes"
showcontent = true

[tool.towncrier.fragment.api]
name = "API Changes"
showcontent = true
[tool.towncrier.fragment.api]
name = "API Changes"
showcontent = true

[tool.towncrier.fragment.datamodel]
name = "Data Model Changes"
showcontent = true
[tool.towncrier.fragment.datamodel]
name = "Data Model Changes"
showcontent = true

[tool.towncrier.fragment.optimization]
name = "Refactoring and Optimization"
showcontent = true
[tool.towncrier.fragment.optimization]
name = "Refactoring and Optimization"
showcontent = true

[tool.towncrier.fragment.maintenance]
name = "Maintenance"
showcontent = true
[tool.towncrier.fragment.maintenance]
name = "Maintenance"
showcontent = true

[[tool.towncrier.section]]
name = ""
path = ""
[[tool.towncrier.section]]
name = ""
path = ""
56 changes: 0 additions & 56 deletions setup.py

This file was deleted.

0 comments on commit e8ebb96

Please sign in to comment.