Skip to content

Commit

Permalink
BOM-1673: Updated setup.py for PyPi release (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: Aarif <[email protected]>
  • Loading branch information
M. Zulqarnain and mraarif authored Jun 3, 2020
1 parent 2378bec commit 182b252
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include crowdsourcehinter_correct.png crowdsourcehinter_hint.png crowdsourcehinter_setup.png
17 changes: 15 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
import os
from setuptools import setup

with open('README.md') as a:
long_description = a.read()


def package_data(pkg, roots):
"""Generic function to find package_data.
Expand Down Expand Up @@ -46,8 +49,10 @@ def is_requirement(line):

setup(
name='crowdsourcehinter-xblock',
version='0.5',
description='crowdsourcehinter XBlock', # TODO: write a better description.
version='0.6',
description='crowdsourcehinter XBlock', # TODO: write a better description.
long_description=long_description,
long_description_content_type='text/markdown',
packages=[
'crowdsourcehinter',
],
Expand All @@ -58,7 +63,15 @@ def is_requirement(line):
]
},
package_data=package_data("crowdsourcehinter", ["static", "public"]),
keywords='crowdsourcehinter xblock',
url='https:/edx/crowdsourcehinter',
author='edX',
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.8',
Expand Down

0 comments on commit 182b252

Please sign in to comment.