Skip to content
Merged
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
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
[build-system]
requires = [ "setuptools" ]
build-backend = "setuptools.build_meta"

[project]
name = "parsons"
version = "5.2.0"
description = "A python library of connectors for the progressive community."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.9"
license-files = [ "LICENSE.md" ]
authors = [
{ name = "The Movement Cooperative", email = "[email protected]" },
]
maintainers = [
{ name = "Shauna Gordon-McKeon" },
]
keywords = [ "PROGRESSIVE", "API", "ETL" ]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = [
"dependencies",
"optional-dependencies",
]

[project.urls]
homepage = "https://www.parsonsproject.org/"
documentation = "https://move-coop.github.io/parsons/html/stable/index.html"
releasenotes = "https://github.com/move-coop/parsons/releases"
funding = "https://secure.actblue.com/donate/parsonsproject?refcode=parsonswebsite"
issues = "https://github.com/move-coop/parsons/issues"
github = "https://github.com/move-coop/parsons"
repository = "https://github.com/move-coop/parsons.git"

[tool.setuptools]
packages = ["parsons"]

[tool.ruff]
# Exclude a variety of commonly ignored directories.
include = [
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ xmltodict==0.15.0
jinja2>=3.0.2
selenium==3.141.0
us==3.2.0

33 changes: 4 additions & 29 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import os
from distutils.core import setup
from pathlib import Path

from setuptools import find_packages
from setuptools import setup


def main():
Expand Down Expand Up @@ -77,37 +76,13 @@ def main():
}
extras_require["all"] = sorted({lib for libs in extras_require.values() for lib in libs})
else:
THIS_DIR = Path(__file__).parent.absolute()
install_requires = (THIS_DIR / "requirements.txt").read_text().strip().split("\n")
# No op for forward-compatibility
extras_require = {"all": []}

this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
pyproject_path = Path(__file__).parent / "requirements.txt"
install_requires = pyproject_path.read_text().strip().split("\n")
extras_require = {"all": []} # No op for forward-compatibility

setup(
name="parsons",
version="5.2.0", # ensure this version number is in format of n.n.n, not n or n.n
author="The Movement Cooperative",
author_email="[email protected]",
url="https://github.com/move-coop/parsons",
keywords=["PROGRESSIVE", "API", "ETL"],
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
# "Programming Language :: Python :: 3.14",
],
python_requires=">=3.9,<3.14",
long_description=long_description,
long_description_content_type="text/markdown",
)


Expand Down
Loading