Skip to content

Commit

Permalink
Remove obsolete setup.py and only use pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Sep 16, 2023
1 parent 2d11d5e commit b8fcc67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 121 deletions.
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ channels:
dependencies:
# Packages required for setting up the environment
- pip>=21,<24
- python>=3.8,<3.12
- setuptools>=66,<68
- python>=3.10,<3.12
- setuptools>=66,<69

# Packages specified in setup.py that need or benefit from binary conda packages
# - geopandas>=0.9,<0.11
Expand Down
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=66,<68",
"setuptools>=66,<69",
"setuptools_scm[toml]>=3.5.0",
"wheel",
]
Expand All @@ -14,11 +14,11 @@ readme = {file = "README.rst", content-type = "text/x-rst"}
authors = [
{name = "Catalyst Cooperative", email = "[email protected]"}
]
requires-python = ">=3.8,<3.12"
requires-python = ">=3.10,<3.12"
dynamic = ["version"]
license = {file = "LICENSE.txt"}
dependencies = [
"pandas>=1.5,<3.0",
"pandas>=1.5,<2.2",
"sqlalchemy>=1.4,<3.0",
]
classifiers = [
Expand All @@ -30,8 +30,6 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
Expand All @@ -49,7 +47,7 @@ winston = "cheshire.cli:main"

[project.optional-dependencies]
dev = [
"build>=0.10,<1.1", # The setuptools package builder
"build>=1.0,<1.1", # The setuptools package builder
"black>=22.0,<23.10", # A deterministic code formatter
"isort>=5.0,<5.13", # Standardized import sorting
"tox>=4.0,<4.12", # Python test environment manager
Expand Down Expand Up @@ -102,7 +100,7 @@ where = ["src"]

[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311"]
target-version = ["py310", "py311"]
include = "\\.pyi?$"

[tool.isort]
Expand Down
112 changes: 0 additions & 112 deletions setup.py

This file was deleted.

0 comments on commit b8fcc67

Please sign in to comment.