Skip to content

Commit e96cc5c

Browse files
committed
Move the source into a src subdirectory
1 parent a2dfbc0 commit e96cc5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class copy_file_mixin:
3939
does some substitutions on the fly into distutils command class
4040
hierarchy.
4141
"""
42-
Subst_srcs = {"pytest_dependency.py"}
42+
Subst_srcs = {"src/pytest_dependency.py"}
4343
Subst = {'DOC': doc_string, 'VERSION': version}
4444
def copy_file(self, infile, outfile, preserve_mode=1, preserve_times=1,
4545
link=None, level=1):
@@ -90,6 +90,7 @@ class sdist(copy_file_mixin, distutils.command.sdist.sdist):
9090
'Documentation': 'https://pytest-dependency.readthedocs.io/',
9191
'Source Code': 'https://github.com/RKrahl/pytest-dependency',
9292
},
93+
package_dir = {'': 'src'},
9394
py_modules=['pytest_dependency'],
9495
install_requires=['pytest >= 3.7.0'],
9596
classifiers=[
File renamed without changes.

0 commit comments

Comments
 (0)