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

Commit

Permalink
📦(core) add project packaging
Browse files Browse the repository at this point in the history
Add base project packaging configuration.

Note: setuptools seems to have issues when dealing with projects not
located in the project's root [1]. Let's be pragmatic and remove the
src/ directory.

1. pypa/setuptools#1136
  • Loading branch information
jmaupetit committed Oct 5, 2018
1 parent e868cd4 commit d14fd60
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.
31 changes: 31 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
;;
;; Open edX xAPI package
;;
[metadata]
name = openedx-xapi
version = 0.0.1
description = Open edX xAPI plugin
long_description = file:README.md
long_description_content_type = text/markdown
author = Open FUN (France Universite Numerique)
author_email = [email protected]
url = https://github.com/openfun/openedx-xapi
license = AGPL-3.0
keywords = Django, xAPI, Open edX
classifiers =
Development Status :: 3 - Alpha
Framework :: Django
Framework :: Django :: 1.11
Intended Audience :: Developers
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Natural Language :: English
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7

[options]
include_package_data = true
packages = find:
zip_safe = false

[wheel]
universal = 1
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup

setup()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d14fd60

Please sign in to comment.