Skip to content

Commit a0b251c

Browse files
committed
Fix package format.
1 parent f79a0c9 commit a0b251c

File tree

3 files changed

+49
-44
lines changed

3 files changed

+49
-44
lines changed

.github/workflows/python-package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies
2828
run: |
29-
python -m pip install --upgrade pip
29+
python -m pip install --upgrade pip wheel build twine
3030
python -m pip install .
3131
32+
- name: Test package format
33+
run: |
34+
python -m build
35+
twine check dist/*
36+
3237
- name: Test with unittest
3338
run: |
3439
python test/test_litmus.py

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ holds all code for a full blown server. Also doc/ARCHITECURE has information for
6161

6262

6363
QUESTIONS?
64-
---------
64+
----------
6565

6666
Ask here https://github.com/andrewleech/PyWebDAV3
6767
or send an email to the maintainer.
@@ -82,7 +82,7 @@ see doc/LICENSE
8282

8383

8484
AUTHOR(s)
85-
------
85+
---------
8686

8787
Andrew Leech [*]
8888
Melbourne, Australia
@@ -115,6 +115,6 @@ NOTES
115115
-----
116116

117117
Look inside the file doc/TODO for things which needs to be done and may be done
118-
in the near future.
118+
in the near future.
119119

120120
Have a look at doc/ARCHITECTURE to understand what's going on under the hood

setup.py

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,43 @@
1010
README = open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r', encoding='utf-8').read()
1111

1212
setup(name='PyWebDAV3',
13-
description=pywebdav.__doc__,
14-
author=pywebdav.__author__,
15-
author_email=pywebdav.__email__,
16-
maintainer=pywebdav.__author__,
17-
maintainer_email=pywebdav.__email__,
18-
use_git_versioner="gitlab:desc:snapshot",
19-
url='https://github.com/andrewleech/PyWebDAV3',
20-
platforms=['Unix', 'Windows'],
21-
license=pywebdav.__license__,
22-
version=pywebdav.__version__,
23-
long_description=README,
24-
classifiers=[
25-
'Development Status :: 5 - Production/Stable',
26-
'Environment :: Console',
27-
'Environment :: Web Environment',
28-
'Intended Audience :: Developers',
29-
'Intended Audience :: System Administrators',
30-
'License :: OSI Approved :: GNU General Public License (GPL)',
31-
'Operating System :: MacOS :: MacOS X',
32-
'Operating System :: POSIX',
33-
'Programming Language :: Python',
34-
'Topic :: Software Development :: Libraries',
35-
],
36-
keywords=['webdav',
37-
'server',
38-
'dav',
39-
'standalone',
40-
'library',
41-
'gpl',
42-
'http',
43-
'rfc2518',
44-
'rfc 2518'
45-
],
46-
packages=find_packages(),
47-
entry_points={
48-
'console_scripts': ['davserver = pywebdav.server.server:run']
49-
},
50-
install_requires = ['six'],
51-
setup_requires=['git-versioner'],
52-
)
13+
description=pywebdav.__doc__,
14+
author=pywebdav.__author__,
15+
author_email=pywebdav.__email__,
16+
maintainer=pywebdav.__author__,
17+
maintainer_email=pywebdav.__email__,
18+
use_git_versioner="gitlab:desc:snapshot",
19+
url='https://github.com/andrewleech/PyWebDAV3',
20+
platforms=['Unix', 'Windows'],
21+
license=pywebdav.__license__,
22+
version=pywebdav.__version__,
23+
long_description=README,
24+
classifiers=[
25+
'Development Status :: 5 - Production/Stable',
26+
'Environment :: Console',
27+
'Environment :: Web Environment',
28+
'Intended Audience :: Developers',
29+
'Intended Audience :: System Administrators',
30+
'License :: OSI Approved :: GNU General Public License (GPL)',
31+
'Operating System :: MacOS :: MacOS X',
32+
'Operating System :: POSIX',
33+
'Programming Language :: Python',
34+
'Topic :: Software Development :: Libraries',
35+
],
36+
keywords=['webdav',
37+
'server',
38+
'dav',
39+
'standalone',
40+
'library',
41+
'gpl',
42+
'http',
43+
'rfc2518',
44+
'rfc 2518'
45+
],
46+
packages=find_packages(),
47+
entry_points={
48+
'console_scripts': ['davserver = pywebdav.server.server:run']
49+
},
50+
install_requires = ['six'],
51+
setup_requires=['git-versioner'],
52+
)

0 commit comments

Comments
 (0)