summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <chandan.devel@gmail.com>2018-08-22 11:11:36 +0000
committerChandan Singh <chandan.devel@gmail.com>2018-08-22 11:11:36 +0000
commit2872bc6dd23e484383721d65721b42ff1affc0b3 (patch)
treeb8c9071b689f0d92317f703aa145aa176b185a0a
parent794b73e32bba13a086ce7083ded0b6b179bc8854 (diff)
parent65cdd6dce9ad5fbaaef1c94d9dab68c9a89bc457 (diff)
downloadbuildstream-2872bc6dd23e484383721d65721b42ff1affc0b3.tar.gz
Merge branch 'chandan/pypi-prep-1.2' into 'bst-1.2'
setup.py: Add fields required for publishing on PyPi See merge request BuildStream/buildstream!699
-rwxr-xr-xsetup.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 89e3fed99..e388abebe 100755
--- a/setup.py
+++ b/setup.py
@@ -224,6 +224,13 @@ def get_cmdclass():
with open('dev-requirements.txt') as dev_reqs:
dev_requires = dev_reqs.read().splitlines()
+#####################################################
+# Prepare package description from README #
+#####################################################
+with open(os.path.join(os.path.dirname(os.path.realpath(__file__)),
+ 'README.rst')) as readme:
+ long_description = readme.read()
+
#####################################################
# Main setup() Invocation #
@@ -233,8 +240,13 @@ setup(name='BuildStream',
version=versioneer.get_version(),
cmdclass=get_cmdclass(),
+ author='BuildStream Developers',
+ author_email='buildstream-list@gnome.org',
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',
packages=find_packages(exclude=('tests', 'tests.*')),
package_data={'buildstream': ['plugins/*/*.py', 'plugins/*/*.yaml',
'data/*.yaml', 'data/*.sh.in']},