summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2018-06-30 03:31:17 +0100
committerChandan Singh <csingh43@bloomberg.net>2018-08-22 11:08:52 +0100
commit65cdd6dce9ad5fbaaef1c94d9dab68c9a89bc457 (patch)
treeb8c9071b689f0d92317f703aa145aa176b185a0a
parent794b73e32bba13a086ce7083ded0b6b179bc8854 (diff)
downloadbuildstream-65cdd6dce9ad5fbaaef1c94d9dab68c9a89bc457.tar.gz
setup.py: Add fields required for publishing on PyPi
Fill out those fields in `setup.py` that are required for publishing a package on PyPi. Part of https://gitlab.com/BuildStream/buildstream/issues/587.
-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']},