Skip to content

Commit 9ed3b16

Browse files
committed
change package layout to use src (as per Hynek S, Ional C arguments)
1 parent c42a0ff commit 9ed3b16

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import io
22
import os
3-
from setuptools import setup
3+
from setuptools import setup, find_packages
44

55
VERSION = '0.1.1'
66

@@ -27,7 +27,8 @@
2727
'pathspec>=0.5.9',
2828
'scandir>=1.9.0;python_version<"3.5"'
2929
],
30-
packages=['dirhash'],
30+
packages=find_packages('src'),
31+
package_dir={'': 'src'},
3132
include_package_data=True,
3233
entry_points={
3334
'console_scripts': ['dirhash=dirhash.cli:main'],
File renamed without changes.

0 commit comments

Comments
 (0)