Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
add setup for pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
DrClockwork committed Apr 24, 2017
1 parent 12edeba commit 2f78c3a
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include LICENSE
include README.rst
recursive-include h5pp/static *
recursive-include h5pp/templates *
recursive-include docs *
27 changes: 27 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
====================
H5PP
HTML5 Package Python
====================

H5PP is a port of H5P to the Python language and the web framework Django.
H5P makes it easy to create, share and reuse HTML5 content and applications. Authors may create and edit interactive videos, presentations, games, advertisements and more. Content may be imported and exported. All that is needed to view or edit H5P content is a web browser.

Quick start
-----------

1. Add 'H5PP' to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'H5PP',
]

2. Include the H5PP URLconf in your project urls.py like this::

url(r'^h5p/', include('h5pp.urls'))

3. Run `python manage.py migrate` to create the H5PP models.

4. Start the development server and visit http://127.0.0.1:8000/h5p to acces to the control panel of H5PP. Go to '/h5p/libraries' and install the H5P content libraries.

5. Visit http://127.0.0.1:8000/h5p/create to create new H5P contents.
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0

31 changes: 31 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import os
from setuptools import find_packages, setup

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()

os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
name='H5PP',
version='0.1',
packages=find_packages(),
include_package_data=True,
license='GPL License',
description='A Python version of H5P software.',
long_description=README,
author='OBLED Joel',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPL License',
'Operating System :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7.9',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWWW/HTTP :: Dynamic Content',
],
)

0 comments on commit 2f78c3a

Please sign in to comment.