Skip to content

Commit

Permalink
excluded pyc files from package and skeleton.
Browse files Browse the repository at this point in the history
  • Loading branch information
takinbo authored and adammck committed Aug 16, 2010
1 parent a9477d1 commit be76a1e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
@@ -1,6 +1,5 @@
include LICENSE
include README.rst
recursive-include lib *
recursive-exclude lib *.pyc
recursive-exclude lib/rapidsms/contrib/ .git*
recursive-exclude lib/rapidsms/contrib/.git *
2 changes: 1 addition & 1 deletion lib/rapidsms/management/commands/startproject.py
Expand Up @@ -28,4 +28,4 @@ def handle_label(self, project_name, **options):
project_name)

src_dir = os.path.join(rapidsms.__path__[0], "skeleton", "project")
shutil.copytree(src_dir, project_name)
shutil.copytree(src_dir, project_name, ignore=shutil.ignore_patterns('*.pyc'))
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -20,7 +20,7 @@
scripts = ["bin/rapidsms-admin.py"],

package_dir = {"": "lib"},
packages = find_packages("lib"),
packages = find_packages("lib",exclude=['*.pyc']),
include_package_data = True,

author="RapidSMS development community",
Expand Down

0 comments on commit be76a1e

Please sign in to comment.