Skip to content

Commit

Permalink
Fix package format.
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-anl committed Dec 31, 2022
1 parent f79a0c9 commit a0b251c
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 44 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip wheel build twine
python -m pip install .
- name: Test package format
run: |
python -m build
twine check dist/*
- name: Test with unittest
run: |
python test/test_litmus.py
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ holds all code for a full blown server. Also doc/ARCHITECURE has information for


QUESTIONS?
---------
----------

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


AUTHOR(s)
------
---------

Andrew Leech [*]
Melbourne, Australia
Expand Down Expand Up @@ -115,6 +115,6 @@ NOTES
-----

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

Have a look at doc/ARCHITECTURE to understand what's going on under the hood
80 changes: 40 additions & 40 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,43 @@
README = open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r', encoding='utf-8').read()

setup(name='PyWebDAV3',
description=pywebdav.__doc__,
author=pywebdav.__author__,
author_email=pywebdav.__email__,
maintainer=pywebdav.__author__,
maintainer_email=pywebdav.__email__,
use_git_versioner="gitlab:desc:snapshot",
url='https://github.com/andrewleech/PyWebDAV3',
platforms=['Unix', 'Windows'],
license=pywebdav.__license__,
version=pywebdav.__version__,
long_description=README,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
],
keywords=['webdav',
'server',
'dav',
'standalone',
'library',
'gpl',
'http',
'rfc2518',
'rfc 2518'
],
packages=find_packages(),
entry_points={
'console_scripts': ['davserver = pywebdav.server.server:run']
},
install_requires = ['six'],
setup_requires=['git-versioner'],
)
description=pywebdav.__doc__,
author=pywebdav.__author__,
author_email=pywebdav.__email__,
maintainer=pywebdav.__author__,
maintainer_email=pywebdav.__email__,
use_git_versioner="gitlab:desc:snapshot",
url='https://github.com/andrewleech/PyWebDAV3',
platforms=['Unix', 'Windows'],
license=pywebdav.__license__,
version=pywebdav.__version__,
long_description=README,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
],
keywords=['webdav',
'server',
'dav',
'standalone',
'library',
'gpl',
'http',
'rfc2518',
'rfc 2518'
],
packages=find_packages(),
entry_points={
'console_scripts': ['davserver = pywebdav.server.server:run']
},
install_requires = ['six'],
setup_requires=['git-versioner'],
)

0 comments on commit a0b251c

Please sign in to comment.