-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
How about transitioning to pyproject.toml?
In pyproject.toml:
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ads"
dynamic = ["version", "dependencies"]
description = "A Python module for NASA's ADS that doesn't suck."
authors = [
{name = "Andrew R. Casey", email = "andy@astrowizici.st"}
]
license = {text = "MIT"}
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.6"
[project.urls]
Homepage = "http://www.github.com/andycasey/ads/"
[project.optional-dependencies]
tests = [
"httpretty>=0.8.10",
]
[tool.setuptools]
packages = ["ads", "ads.tests", "ads.tests.stubdata"]
[tool.setuptools.dynamic]
version = {attr = "ads.__version__"}
dependencies = {file = "requirements.txt"}and in setup.py:
# coding: utf-8
from setuptools import setup
setup()Metadata
Metadata
Assignees
Labels
No labels