Merge pull request #104 from drivendata/pip-installable

Create and install src as Python package
This commit is contained in:
Isaac Slavitt 2018-04-13 17:29:14 -04:00 committed by GitHub
commit b3e9dfa3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
# local package
-e .
# external requirements
click click
Sphinx Sphinx
coverage coverage

View File

@ -0,0 +1,10 @@
from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.0.1',
description='{{ cookiecutter.description }}',
author='{{ cookiecutter.author_name }}',
license='{% if cookiecutter.open_source_license == 'MIT' %}MIT{% elif cookiecutter.open_source_license == 'BSD-3-Clause' %}BSD-3{% endif %}',
)