Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pyproject.toml #464

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "tobac"
version = "1.5.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to get the version from the __init__.py file as previously?

authors = [
{ name="Max Heikenfeld", email="[email protected]" },
{ name="William Jones", email="[email protected]" },
{ name="Fabian Senf", email="[email protected]" },
{ name="Sean Freeman", email="[email protected]" },
{ name="Julia Kukulies", email="[email protected]" },
{ name="Kelcy Brunner", email="[email protected]" },
]
description = "A package for identifying and tracking atmospheric phenomena"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]

[project.urls]
Homepage = "http://github.com/tobac-project/tobac"
Documentation = "http://tobac.io"
Issues = "http://github.com/tobac-project/tobac/issues"
22 changes: 0 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,6 @@ def get_packages(package_name):


setup(
name=PACKAGE_NAME,
version=get_version(PACKAGE_NAME),
description="Tracking and object-based analysis of clouds",
url="http://github.com/tobac-project/tobac",
classifiers=CLASSIFIERS,
author=[
"Max Heikenfeld",
"William Jones",
"Fabian Senf",
"Sean Freeman",
"Julia Kukulies",
"Peter Marinescu",
],
author_email=[
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
],
license="BSD-3-Clause License",
packages=get_packages(PACKAGE_NAME),
install_requires=get_requirements("requirements.txt"),
test_requires=["pytest"],
Expand Down
Loading