Skip to content

Commit 3bb8b64

Browse files
committed
move to src dir to prevent picking up ez_setup.py in package
1 parent d669c9c commit 3bb8b64

File tree

6 files changed

+5
-3
lines changed

6 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ python:
66
- "3.3"
77
install:
88
- sudo apt-get install clamav-daemon clamav-freshclam clamav-unofficial-sigs
9-
- sudo freshclam
9+
- sudo freshclam --verbose
1010
- sudo service clamav-daemon start
1111
- pip install .
1212
script: python setup.py nosetests

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include CHANGES.rst
22
include README.rst
3+
include ez_setup.py
34

4-
recursive-include tests *
55
recursive-exclude * __pycache__
66
recursive-exclude * *.py[co]

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
description = "Clamd is a python interface to Clamd (Clamav daemon).",
1919
long_description=readme + '\n\n' + history,
2020
url="https://github.com/graingert/python-clamd",
21-
packages=find_packages(exclude="test"),
21+
package_dir={'': 'src'},
22+
packages=find_packages('src', exclude="tests"),
2223
classifiers = (
2324
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
2425
),
@@ -28,4 +29,5 @@
2829
),
2930
test_suite='nose.collector',
3031
zip_safe=True,
32+
include_package_data=False,
3133
)
File renamed without changes.
File renamed without changes.

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)