Skip to content

Commit

Permalink
Prepare for PyPi distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcorpet committed Apr 8, 2016
1 parent a2a8ff0 commit 8c72d64
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
# Python temp files.
*.pyc
__pycache__

# Generated by distutil.
MANIFEST
dist
File renamed without changes.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pôle Emploi, the French unemployment agency, to share their public data.

This is a Python client library for their API.

The library is in `emploi_store.py` and works both in Python 2 and Python 3.
The library is in `emploi_store` and works both in Python 2 and Python 3.
Usage information and required environment variables is documented in the
library's docstring.

Expand All @@ -16,6 +16,7 @@ need to get a client ID and client secret from Emploi Store Dev.

As documented on their
[website](https://www.emploi-store-dev.fr/portail-developpeur/donneesdoctechnique) you need to:

* [Sign-in](https://www.emploi-store-dev.fr/portail-developpeur/donneesdoctechnique:connexion) or [create a new account](https://www.emploi-store-dev.fr/portail-developpeur/creationutilisateur)
* Go to your [dashboard](https://www.emploi-store-dev.fr/portail-developpeur/tableaudebord)
* Add an application, check `Oui` to the question `Utilisation de l’API Pôle
Expand Down
File renamed without changes.
19 changes: 19 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# encoding: utf-8
"""Python client library for Pôle Emploi's "Emploi Store Dev"."""
from distutils import core

__version__ = '0.1'

core.setup(
name='python-emploi-store',
packages=['emploi_store'],
version=__version__,
description=__doc__,
author='Pascal Corpet',
author_email='pascal@bayesimpact.org',
url='https://github.com/bayesimpact/python-emploi-store',
download_url='https://github.com/bayesimpact/python-emploi-store/tarball/' + __version__,
license='The MIT License (MIT)',
keywords=['Pôle Emploi', 'France', 'emploi', 'OpenData'],
classifiers=[],
)

0 comments on commit 8c72d64

Please sign in to comment.