Skip to content

Commit

Permalink
switch to pyproject.toml from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
henrysky committed Jul 18, 2024
1 parent b8571e3 commit 80c0af1
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 49 deletions.
36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "astroNN"
version = "1.2.dev0"
dynamic = ["dependencies"]
requires-python = ">=3.9"
authors = [
{name = "Henry Leung", email = "[email protected]"},
]
maintainers = [
{name = "Henry Leung", email = "[email protected]"},
]
description = "Deep Learning for Astronomers with Keras"
readme = "README.rst"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]

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

[project.urls]
Homepage = "https://github.com/henrysky/astroNN"
Documentation = "http://astronn.readthedocs.io/"
Repository = "https://github.com/henrysky/astroNN"
"Bug Tracker" = "https://github.com/henrysky/astroNN/issues"
Changelog = "https://astronn.readthedocs.io/en/latest/history.html"
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
numpy
matplotlib
scikit-learn
pandas
astropy
astroquery
torch
ipython
ipykernel
49 changes: 0 additions & 49 deletions setup.py

This file was deleted.

0 comments on commit 80c0af1

Please sign in to comment.