Skip to content

Commit 2a4e3f1

Browse files
committed
Use setup.cfg instead of setup.py
1 parent 55251d0 commit 2a4e3f1

File tree

2 files changed

+41
-29
lines changed

2 files changed

+41
-29
lines changed

setup.cfg

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
[metadata]
2+
name = WTForms-SQLAlchemy
3+
version = 0.2dev
4+
url = http://github.com/wtforms/wtforms-sqlalchemy/
5+
project_urls =
6+
Documentation = https://wtforms-sqlalchemy.readthedocs.io/
7+
Code = https://github.com/wtforms/wtforms-sqlalchemy
8+
Issue Tracker = https://github.com/wtforms/wtforms-sqlalchemy/issues
9+
license = BSD
10+
license_files = LICENSE.txt
11+
maintainer = Thomas Johansson, James Crasta
12+
maintainer_email = [email protected]
13+
description = SQLAlchemy tools for WTForms
14+
long_description = file: README.rst
15+
long_description_content_type = text/x-rst
16+
classifiers =
17+
Development Status :: 5 - Production/Stable
18+
Environment :: Web Environment
19+
Intended Audience :: Developers
20+
License :: OSI Approved :: BSD License
21+
Operating System :: OS Independent
22+
Programming Language :: Python
23+
Programming Language :: Python :: 3
24+
Programming Language :: Python :: 3.6
25+
Programming Language :: Python :: 3.7
26+
Programming Language :: Python :: 3.8
27+
Topic :: Internet :: WWW/HTTP :: Dynamic Content
28+
Topic :: Software Development :: Libraries :: Python Modules
29+
30+
[options]
31+
packages = wtforms_sqlalchemy
32+
include_package_data = true
33+
python_requires = >= 3.6
34+
setup_requires = Babel >= 2.6.0
35+
install_requires =
36+
WTForms>=1.0.5
37+
SQLAlchemy>=0.7.10
38+
tests_require = coverage
39+
test_suite = tests.tests
40+
141
[flake8]
242
# B = bugbear
343
# E = pycodestyle errors

setup.py

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,3 @@
11
#!/usr/bin/env python
22
from setuptools import setup
3-
4-
setup(
5-
name="WTForms-SQLAlchemy",
6-
version="0.2dev",
7-
url="http://github.com/wtforms/wtforms-sqlalchemy/",
8-
license="BSD",
9-
author="Thomas Johansson, James Crasta",
10-
author_email="[email protected]",
11-
description="SQLAlchemy tools for WTForms",
12-
classifiers=[
13-
"Development Status :: 5 - Production/Stable",
14-
"Environment :: Web Environment",
15-
"Intended Audience :: Developers",
16-
"License :: OSI Approved :: BSD License",
17-
"Operating System :: OS Independent",
18-
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.6",
21-
"Programming Language :: Python :: 3.7",
22-
"Programming Language :: Python :: 3.8",
23-
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
24-
"Topic :: Software Development :: Libraries :: Python Modules",
25-
],
26-
packages=["wtforms_sqlalchemy"],
27-
package_data={},
28-
tests_require=["coverage"],
29-
test_suite="tests.tests",
30-
install_requires=["WTForms>=1.0.5", "SQLAlchemy>=0.7.10"],
31-
)
3+
setup()

0 commit comments

Comments
 (0)