Skip to content

Commit b9fc9e3

Browse files
authored
git - Merge pull request #96 from DinoTools/dist
Improve package build
2 parents baf2ac4 + b057308 commit b9fc9e3

File tree

3 files changed

+26
-21
lines changed

3 files changed

+26
-21
lines changed

MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
include README.rst CHANGELOG.rst
1+
include CHANGELOG.rst CONTRIBUTING.rst README.rst
22
include LICENSE
33
include MANIFEST.in
4-
include docs/make.bat docs.Makefile
4+
include docs/make.bat docs/Makefile
55
include docs/source/conf.py
66
include docs/source/*.rst
77
include examples/*.py
88
include tests/*.py
99
include tests/json/*.json
1010
include tests/response/*.html
1111
include tests/xml/*.xml
12+
include tox.ini

setup.cfg

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
[metadata]
22
license-file = LICENSE
3+
long_description = file: README.rst
4+
long_description_content_type = text/x-rst
5+
classifiers =
6+
Development Status :: 4 - Beta
7+
License :: OSI Approved :: MIT License
8+
Operating System :: OS Independent
9+
Programming Language :: Python
10+
Programming Language :: Python :: 3
11+
Programming Language :: Python :: 3.6
12+
Programming Language :: Python :: 3.7
13+
Programming Language :: Python :: 3.8
14+
Programming Language :: Python :: 3.9
15+
Programming Language :: Python :: Implementation :: CPython
16+
Programming Language :: Python :: Implementation :: PyPy
17+
project_urls =
18+
Documentation = https://python-overpy.readthedocs.io/
19+
Source = https://github.com/DinoTools/python-overpy
20+
Issue Tracker = https://github.com/DinoTools/python-overpy/issues
21+
22+
[options]
23+
python_requires = >=3.6
24+
include_package_data = true
25+
zip_safe = false
326

427
[aliases]
528
test=pytest

setup.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,17 @@
77
about = {}
88
exec((HERE / "overpy" / "__about__.py").read_text(), about)
99

10-
long_description = (HERE / "README.rst").read_text()
11-
1210
setup(
1311
name=about["__title__"],
1412
version=about["__version__"],
1513

1614
description=about["__summary__"],
17-
long_description=long_description,
1815
license=about["__license__"],
1916
url=about["__uri__"],
20-
21-
zip_safe=False,
2217
author=about["__author__"],
23-
classifiers=[
24-
"Development Status :: 4 - Beta",
25-
"License :: OSI Approved :: MIT License",
26-
"Operating System :: OS Independent",
27-
"Programming Language :: Python",
28-
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.6",
30-
"Programming Language :: Python :: 3.7",
31-
"Programming Language :: Python :: 3.8",
32-
"Programming Language :: Python :: 3.9",
33-
"Programming Language :: Python :: Implementation :: CPython",
34-
"Programming Language :: Python :: Implementation :: PyPy"
35-
],
3618
keywords="OverPy Overpass OSM OpenStreetMap",
3719
install_requires=[],
3820
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests"]),
39-
include_package_data=True,
4021
package_data={
4122
# "": ["README"],
4223
},

0 commit comments

Comments
 (0)