summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-29 12:37:08 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-29 12:37:08 +0000
commit5fc7b5ac1f2c290fb3f5b1818fec3fe933b418c0 (patch)
tree3526257b510fccada5861710debfb727eb005d19
parent5d508779a640dfb56f3addefb16b758e80dd3b47 (diff)
parent323a5403a9c1dca70aeabe9270725e96a394b806 (diff)
downloadbuildstream-5fc7b5ac1f2c290fb3f5b1818fec3fe933b418c0.tar.gz
Merge branch 'chandan/setup.py-metadata' into 'master'
setup.py: Add more metadata useful for PyPI See merge request BuildStream/buildstream!718
-rwxr-xr-xsetup.py26
1 files changed, 25 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index e388abebe..781b55bcc 100755
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,14 @@ import subprocess
import sys
import versioneer
-if sys.version_info[0] != 3 or sys.version_info[1] < 5:
+
+##################################################################
+# Python requirements
+##################################################################
+REQUIRED_PYTHON_MAJOR = 3
+REQUIRED_PYTHON_MINOR = 5
+
+if sys.version_info[0] != REQUIRED_PYTHON_MAJOR or sys.version_info[1] < REQUIRED_PYTHON_MINOR:
print("BuildStream requires Python >= 3.5")
sys.exit(1)
@@ -242,11 +249,28 @@ setup(name='BuildStream',
author='BuildStream Developers',
author_email='buildstream-list@gnome.org',
+ classifiers=[
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
+ 'Operating System :: POSIX',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Topic :: Software Development :: Build Tools'
+ ],
description='A framework for modelling build pipelines in YAML',
license='LGPL',
long_description=long_description,
long_description_content_type='text/x-rst; charset=UTF-8',
url='https://gitlab.com/BuildStream/buildstream',
+ project_urls={
+ 'Documentation': 'https://buildstream.gitlab.io/buildstream/',
+ 'Tracker': 'https://gitlab.com/BuildStream/buildstream/issues',
+ 'Mailing List': 'https://mail.gnome.org/mailman/listinfo/buildstream-list'
+ },
+ python_requires='~={}.{}'.format(REQUIRED_PYTHON_MAJOR, REQUIRED_PYTHON_MINOR),
packages=find_packages(exclude=('tests', 'tests.*')),
package_data={'buildstream': ['plugins/*/*.py', 'plugins/*/*.yaml',
'data/*.yaml', 'data/*.sh.in']},