fix: revert back to setup.py + setup.cfg
apparently with python 3.6 things "mostly" work but then they break if any specified dependencies have a dot in the name. which in this project, is the case for `zope.sqlalchemy` so until we drop python 3.6 support, we cannot use pyproject.toml here
This commit is contained in:
parent
fb0c538a2b
commit
6e741f6156
101
pyproject.toml
101
pyproject.toml
|
@ -1,101 +0,0 @@
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["hatchling"]
|
|
||||||
build-backend = "hatchling.build"
|
|
||||||
|
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "Tailbone"
|
|
||||||
version = "0.11.0"
|
|
||||||
description = "Backoffice Web Application for Rattail"
|
|
||||||
readme = "README.rst"
|
|
||||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
|
||||||
license = {text = "GNU GPL v3+"}
|
|
||||||
classifiers = [
|
|
||||||
"Development Status :: 4 - Beta",
|
|
||||||
"Environment :: Web Environment",
|
|
||||||
"Framework :: Pyramid",
|
|
||||||
"Intended Audience :: Developers",
|
|
||||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
||||||
"Natural Language :: English",
|
|
||||||
"Operating System :: OS Independent",
|
|
||||||
"Programming Language :: Python",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
"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",
|
|
||||||
"Topic :: Internet :: WWW/HTTP",
|
|
||||||
"Topic :: Office/Business",
|
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
||||||
]
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
"asgiref",
|
|
||||||
"colander",
|
|
||||||
"ColanderAlchemy",
|
|
||||||
"cornice",
|
|
||||||
"cornice-swagger",
|
|
||||||
"deform",
|
|
||||||
"humanize",
|
|
||||||
"Mako",
|
|
||||||
"markdown",
|
|
||||||
"openpyxl",
|
|
||||||
"paginate",
|
|
||||||
"paginate_sqlalchemy",
|
|
||||||
"passlib",
|
|
||||||
"Pillow",
|
|
||||||
"pyramid>=2",
|
|
||||||
"pyramid_beaker",
|
|
||||||
"pyramid_deform",
|
|
||||||
"pyramid_exclog",
|
|
||||||
"pyramid_fanstatic",
|
|
||||||
"pyramid_mako",
|
|
||||||
"pyramid_retry",
|
|
||||||
"pyramid_tm",
|
|
||||||
"rattail[db,bouncer]",
|
|
||||||
"six",
|
|
||||||
"sa-filters",
|
|
||||||
"simplejson",
|
|
||||||
"transaction",
|
|
||||||
"waitress",
|
|
||||||
"WebHelpers2",
|
|
||||||
"zope.sqlalchemy",
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
[project.optional-dependencies]
|
|
||||||
docs = ["Sphinx", "sphinx-rtd-theme"]
|
|
||||||
tests = ["coverage", "mock", "pytest", "pytest-cov"]
|
|
||||||
|
|
||||||
|
|
||||||
[project.entry-points."paste.app_factory"]
|
|
||||||
main = "tailbone.app:main"
|
|
||||||
webapi = "tailbone.webapi:main"
|
|
||||||
|
|
||||||
|
|
||||||
[project.entry-points."rattail.cleaners"]
|
|
||||||
beaker = "tailbone.cleanup:BeakerCleaner"
|
|
||||||
|
|
||||||
|
|
||||||
[project.entry-points."rattail.config.extensions"]
|
|
||||||
tailbone = "tailbone.config:ConfigExtension"
|
|
||||||
|
|
||||||
|
|
||||||
[project.urls]
|
|
||||||
Homepage = "https://rattailproject.org"
|
|
||||||
Repository = "https://kallithea.rattailproject.org/rattail-project/tailbone"
|
|
||||||
Issues = "https://redmine.rattailproject.org/projects/tailbone/issues"
|
|
||||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/tailbone/files/master/CHANGELOG.md"
|
|
||||||
|
|
||||||
|
|
||||||
[tool.commitizen]
|
|
||||||
version_provider = "pep621"
|
|
||||||
tag_format = "v$version"
|
|
||||||
update_changelog_on_bump = true
|
|
||||||
|
|
||||||
|
|
||||||
# [tool.hatch.build.targets.wheel]
|
|
||||||
# packages = ["corepos"]
|
|
97
setup.cfg
Normal file
97
setup.cfg
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
name = Tailbone
|
||||||
|
version = 0.11.0
|
||||||
|
author = Lance Edgar
|
||||||
|
author_email = lance@edbob.org
|
||||||
|
url = http://rattailproject.org/
|
||||||
|
license = GNU GPL v3
|
||||||
|
description = Backoffice Web Application for Rattail
|
||||||
|
long_description = file: README.rst
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 4 - Beta
|
||||||
|
Environment :: Web Environment
|
||||||
|
Framework :: Pyramid
|
||||||
|
Intended Audience :: Developers
|
||||||
|
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
||||||
|
Natural Language :: English
|
||||||
|
Operating System :: OS Independent
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
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
|
||||||
|
Topic :: Internet :: WWW/HTTP
|
||||||
|
Topic :: Office/Business
|
||||||
|
Topic :: Software Development :: Libraries :: Python Modules
|
||||||
|
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = find:
|
||||||
|
include_package_data = True
|
||||||
|
install_requires =
|
||||||
|
asgiref
|
||||||
|
colander
|
||||||
|
ColanderAlchemy
|
||||||
|
cornice
|
||||||
|
cornice-swagger
|
||||||
|
deform
|
||||||
|
humanize
|
||||||
|
Mako
|
||||||
|
markdown
|
||||||
|
openpyxl
|
||||||
|
paginate
|
||||||
|
paginate_sqlalchemy
|
||||||
|
passlib
|
||||||
|
Pillow
|
||||||
|
pyramid>=2
|
||||||
|
pyramid_beaker
|
||||||
|
pyramid_deform
|
||||||
|
pyramid_exclog
|
||||||
|
pyramid_fanstatic
|
||||||
|
pyramid_mako
|
||||||
|
pyramid_retry
|
||||||
|
pyramid_tm
|
||||||
|
rattail[db,bouncer]
|
||||||
|
six
|
||||||
|
sa-filters
|
||||||
|
simplejson
|
||||||
|
transaction
|
||||||
|
waitress
|
||||||
|
WebHelpers2
|
||||||
|
zope.sqlalchemy
|
||||||
|
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
exclude =
|
||||||
|
tests.*
|
||||||
|
tests
|
||||||
|
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
docs = Sphinx; sphinx-rtd-theme
|
||||||
|
tests = coverage; mock; pytest; pytest-cov
|
||||||
|
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
|
||||||
|
paste.app_factory =
|
||||||
|
main = tailbone.app:main
|
||||||
|
webapi = tailbone.webapi:main
|
||||||
|
|
||||||
|
rattail.cleaners =
|
||||||
|
beaker = tailbone.cleanup:BeakerCleaner
|
||||||
|
|
||||||
|
rattail.config.extensions =
|
||||||
|
tailbone = tailbone.config:ConfigExtension
|
||||||
|
|
||||||
|
|
||||||
|
[nosetests]
|
||||||
|
nocapture = 1
|
||||||
|
cover-package = tailbone
|
||||||
|
cover-erase = 1
|
||||||
|
cover-html = 1
|
||||||
|
cover-html-dir = htmlcov
|
Loading…
Reference in a new issue