Merge branch 'issue-1177' into 'master'

Fix issue #1177: Add project description and classifiers to PyPI page

Closes #1177

See merge request allianceauth/allianceauth!1143
This commit is contained in:
Basraah 2019-12-13 02:14:54 +00:00
commit cfb2c55a4b

View File

@ -1,7 +1,12 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os
from setuptools import setup from setuptools import setup
import allianceauth import allianceauth
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_requires = [ install_requires = [
'mysqlclient', 'mysqlclient',
'dnspython', 'dnspython',
@ -43,6 +48,8 @@ setup(
author='Alliance Auth', author='Alliance Auth',
author_email='adarnof@gmail.com', author_email='adarnof@gmail.com',
description='An auth system for EVE Online to help in-game organizations manage online service access.', description='An auth system for EVE Online to help in-game organizations manage online service access.',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=install_requires, install_requires=install_requires,
extras_require={ extras_require={
'testing': testing_extras, 'testing': testing_extras,
@ -58,4 +65,16 @@ setup(
[console_scripts] [console_scripts]
allianceauth=allianceauth.bin.allianceauth:main allianceauth=allianceauth.bin.allianceauth:main
""", """,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
) )