Move conda support files next to the code
Better than in a separate files dir IMO
MODIFY
MANIFEST.in
MANIFEST.in
include *.md
include LICENSE
include setup.cfg
-recursive-include repo2docker/files *
+recursive-include repo2docker/buildpacks *

MODIFY
repo2docker/buildpacks/base.py
repo2docker/buildpacks/base.py
@@ -381,7 +381,7 @@ class BuildPack(LoggingConfigurable):
for src in sorted(self.build_script_files):
src_parts = src.split('/')
- src_path = os.path.join(os.path.dirname(__file__), '..', 'files', *src_parts)
+ src_path = os.path.join(os.path.dirname(__file__), *src_parts)
tar.add(src_path, src, filter=_filter_tar)
tar.add('.', 'src/', filter=_filter_tar)

RENAME
repo2docker/buildpacks/conda.py
repo2docker/buildpacks/conda/__init__.py
@@ -3,7 +3,7 @@ Generates a variety of Dockerfiles based on an input matrix
"""
from traitlets import default
import os
-from .base import BuildPack
+from ..base import BuildPack
class CondaBuildPack(BuildPack):

RENAME
repo2docker/files/conda/environment.yml
repo2docker/buildpacks/conda/environment.yml
RENAME
repo2docker/files/conda/install-miniconda.bash
repo2docker/buildpacks/conda/install-miniconda.bash
RENAME
repo2docker/buildpacks/python.py
repo2docker/buildpacks/python/__init__.py
@@ -3,7 +3,7 @@ Generates a variety of Dockerfiles based on an input matrix
"""
from traitlets import default
import os
-from .base import BuildPack
+from ..base import BuildPack
class PythonBuildPack(BuildPack):

Move conda support files next to the code

Better than in a separate files dir IMO