Skip to content

Commit be76a1e

Browse files
takinboadammck
authored andcommitted
1 parent a9477d1 commit be76a1e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
include LICENSE
22
include README.rst
33
recursive-include lib *
4-
recursive-exclude lib *.pyc
54
recursive-exclude lib/rapidsms/contrib/ .git*
65
recursive-exclude lib/rapidsms/contrib/.git *

lib/rapidsms/management/commands/startproject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ def handle_label(self, project_name, **options):
2828
project_name)
2929

3030
src_dir = os.path.join(rapidsms.__path__[0], "skeleton", "project")
31-
shutil.copytree(src_dir, project_name)
31+
shutil.copytree(src_dir, project_name, ignore=shutil.ignore_patterns('*.pyc'))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
scripts = ["bin/rapidsms-admin.py"],
2121

2222
package_dir = {"": "lib"},
23-
packages = find_packages("lib"),
23+
packages = find_packages("lib",exclude=['*.pyc']),
2424
include_package_data = True,
2525

2626
author="RapidSMS development community",

0 commit comments

Comments
 (0)