Browse Source

Create and install src as Python package

main
Peter Bull 7 years ago
parent
commit
12a6e8a1f9
  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