Merge pull request #104 from drivendata/pip-installable
Create and install src as Python package
This commit is contained in:
commit
b3e9dfa3f9
|
@ -1,3 +1,7 @@
|
||||||
|
# local package
|
||||||
|
-e .
|
||||||
|
|
||||||
|
# external requirements
|
||||||
click
|
click
|
||||||
Sphinx
|
Sphinx
|
||||||
coverage
|
coverage
|
||||||
|
|
|
@ -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 %}',
|
||||||
|
)
|
Loading…
Reference in New Issue