Browse Source

Merge pull request #104 from drivendata/pip-installable

Create and install src as Python package
main
Isaac Slavitt 7 years ago committed by GitHub
parent
commit
b3e9dfa3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      {{ cookiecutter.repo_name }}/requirements.txt
  2. 10
      {{ cookiecutter.repo_name }}/setup.py
  3. 0
      {{ cookiecutter.repo_name }}/src/data/__init__.py
  4. 0
      {{ cookiecutter.repo_name }}/src/features/__init__.py
  5. 0
      {{ cookiecutter.repo_name }}/src/models/__init__.py
  6. 0
      {{ cookiecutter.repo_name }}/src/visualization/__init__.py

4
{{ cookiecutter.repo_name }}/requirements.txt

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

10
{{ cookiecutter.repo_name }}/setup.py

@ -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 %}',
)

0
{{ cookiecutter.repo_name }}/src/data/__init__.py

0
{{ cookiecutter.repo_name }}/src/features/__init__.py

0
{{ cookiecutter.repo_name }}/src/models/__init__.py

0
{{ cookiecutter.repo_name }}/src/visualization/__init__.py

Loading…
Cancel
Save