This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update setup.py and make it available on pypi
- Loading branch information
Showing
7 changed files
with
716 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,6 @@ logs/* | |
# coverage | ||
htmlcov | ||
.coverage | ||
build | ||
|
||
build | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include DESCRIPTION.rst | ||
|
||
recursive-include ubcpi/static * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""Setup for ubcpi XBlock.""" | ||
|
||
import os | ||
from setuptools import setup | ||
from setuptools import setup, find_packages | ||
|
||
|
||
def package_data(pkg, roots): | ||
|
@@ -20,21 +20,39 @@ def package_data(pkg, roots): | |
return {pkg: data} | ||
|
||
|
||
def readme(): | ||
with open('README.rst') as f: | ||
return f.read() | ||
|
||
|
||
setup( | ||
name='ubcpi-xblock', | ||
version='0.1', | ||
description='ubcpi XBlock', # TODO: write a better description. | ||
packages=[ | ||
'ubcpi', | ||
], | ||
version='0.4.1', | ||
description='UBC Peer Instruction XBlock', | ||
long_description=readme(), | ||
license='Affero GNU General Public License v3 (GPLv3)', | ||
url="https://github.com/ubc/ubcpi", | ||
author="UBC CTLT", | ||
author_email="[email protected]", | ||
packages=find_packages(), | ||
install_requires=[ | ||
'XBlock', | ||
'edx-submissions', | ||
], | ||
entry_points={ | ||
'xblock.v1': [ | ||
'ubcpi = ubcpi.ubcpi:PeerInstructionXBlock', | ||
] | ||
}, | ||
package_data=package_data("ubcpi", ["static", "public"]), | ||
keywords=['edx', 'peer instruction', 'ubc'], | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Plugins", | ||
"Framework :: Django", | ||
"Intended Audience :: Education", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: JavaScript", | ||
"Topic :: Education", | ||
], | ||
) |