From e62d7c5ea3bc014123cf6f78e5345c588cd4f068 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Thu, 12 Jan 2023 22:36:04 +0100 Subject: Make the project PEP517 compatible --- setup.py | 47 +++-------------------------------------------- 1 file changed, 3 insertions(+), 44 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index fbdefcb..a5d21d8 100644 --- a/setup.py +++ b/setup.py @@ -1,46 +1,5 @@ -import setuptools +# Legacy setup for some build / install systems -import ngus +from setuptools import setup -with open('README.md', 'r') as fh: - long_description = fh.read() - - -setuptools.setup( - name='ngus', - version=ngus.__version__, - author=ngus.__author__, - author_email='sgs@pichove.org', - description='A simple HTTP server for handleing file uploads', - long_description=long_description, - long_description_content_type='text/markdown', - url='https://github.com/blackm0re/ngus', - packages=setuptools.find_packages(), - exclude_package_data={'': ['.gitignore']}, - entry_points={ - 'console_scripts': [ - 'ngus=ngus.__main__:main', - ], - }, - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: End Users/Desktop', - ('License :: OSI Approved :: GNU General Public License v3 or later ' - '(GPLv3+)'), - 'Programming Language :: Python :: 3 :: Only', - '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 :: Implementation', - 'Operating System :: OS Independent', - 'Topic :: Internet :: WWW/HTTP :: HTTP Servers' - ], - keywords='upload http httpd', - project_urls={ - 'Bug Reports': 'https://github.com/blackm0re/ngus/issues', - 'Source': 'https://github.com/blackm0re/ngus' - }, - python_requires='>=3.6', -) +setup() -- cgit v1.3