Browse Source

Change package name vs repository name

main
gabriel becker 2 years ago
parent
commit
10f74be073
  1. 3
      cookiecutter.json
  2. 2
      {{ cookiecutter.repo_name }}/setup.py
  3. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/__init__.py
  4. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/.gitkeep
  5. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/__init__.py
  6. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/make_dataset.py
  7. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/features/.gitkeep
  8. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/features/__init__.py
  9. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/features/build_features.py
  10. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/.gitkeep
  11. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/__init__.py
  12. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/predict_model.py
  13. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/train_model.py
  14. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/visualization/.gitkeep
  15. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/visualization/__init__.py
  16. 0
      {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/visualization/visualize.py

3
cookiecutter.json

@ -1,10 +1,9 @@
{ {
"project_name": "project_name", "project_name": "project_name",
"repo_name": "{{ cookiecutter.project_name.lower().replace(' ', '_') }}", "repo_name": "{{ cookiecutter.project_name.lower().replace(' ', '_') }}",
"package_name": "{{ cookiecutter.package_name.lower().replace(' ', '_') }}",
"author_name": "Your name (or your organization/company/team)", "author_name": "Your name (or your organization/company/team)",
"description": "A short description of the project.", "description": "A short description of the project.",
"open_source_license": ["MIT", "BSD-3-Clause", "No license file"], "open_source_license": ["MIT", "BSD-3-Clause", "No license file"],
"s3_bucket": "[OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')",
"aws_profile": "default",
"python_interpreter": ["python3", "python"] "python_interpreter": ["python3", "python"]
} }

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

@ -1,7 +1,7 @@
from setuptools import find_packages, setup from setuptools import find_packages, setup
setup( setup(
name='src', name='{{ cookiecutter.package_name }}',
packages=find_packages(), packages=find_packages(),
version='0.1.0', version='0.1.0',
description='{{ cookiecutter.description }}', description='{{ cookiecutter.description }}',

0
{{ cookiecutter.repo_name }}/src/__init__.py → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/__init__.py

0
{{ cookiecutter.repo_name }}/src/data/.gitkeep → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/.gitkeep

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

0
{{ cookiecutter.repo_name }}/src/data/make_dataset.py → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/make_dataset.py

0
{{ cookiecutter.repo_name }}/src/features/.gitkeep → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/features/.gitkeep

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

0
{{ cookiecutter.repo_name }}/src/features/build_features.py → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/features/build_features.py

0
{{ cookiecutter.repo_name }}/src/models/.gitkeep → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/.gitkeep

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

0
{{ cookiecutter.repo_name }}/src/models/predict_model.py → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/predict_model.py

0
{{ cookiecutter.repo_name }}/src/models/train_model.py → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/models/train_model.py

0
{{ cookiecutter.repo_name }}/src/visualization/.gitkeep → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/visualization/.gitkeep

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

0
{{ cookiecutter.repo_name }}/src/visualization/visualize.py → {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/visualization/visualize.py

Loading…
Cancel
Save