Skip to content

Commit 7c77074

Browse files
committed
Use src/
1 parent 3428ca0 commit 7c77074

File tree

6 files changed

+3
-2
lines changed

6 files changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# read _version.py as bytes, otherwise exec will complain about
1111
# 'coding: utf-8', which we want there for the normal Python 2 import
12-
with open('outcome/_version.py', 'rb') as fp:
12+
with open('src/outcome/_version.py', 'rb') as fp:
1313
version_mod = fp.read()
1414

1515
exec(version_mod, version)
@@ -26,7 +26,8 @@
2626
author='Frazer McLean',
2727
author_email='[email protected]',
2828
license='MIT -or- Apache License 2.0',
29-
packages=find_packages(exclude=['tests']),
29+
packages=find_packages('src'),
30+
package_dir={'': 'src'},
3031
install_requires=['attrs'],
3132
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
3233
keywords='result',
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)