Skip to content

Commit

Permalink
Move application code from 'src' directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Nov 24, 2009
1 parent ddd1208 commit 34a91b7
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
recursive-include src/templates *.html
recursive-include django_app_template/templates *.html
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 7 additions & 1 deletion set_name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ LOWER_PROJECT=${PROJECT/-/_}

find . \
\( -not \( -path './parts/*' -or -path './bin/*' -or -path './develop-eggs/*' \) \) -and \
\( -name '*.py' -or -name '*.rst' -or -name Makefile -or -name *.cfg -or -name LICENSE -or -name .gitignore \) \
\( -name '*.py' -or -name '*.rst' -or -name Makefile -or -name *.cfg -or -name *.in -or -name LICENSE -or -name .gitignore \) \
-print0 | \
xargs -0 sed -i \
-e "s/django-app-template/${PROJECT}/g" \
-e "s/django_app_template/${LOWER_PROJECT}/g"

if [ -e .git ]; then
git mv django_app_template ${LOWER_PROJECT}
else
mv django_app_template ${LOWER_PROJECT}
fi
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
package_dir = {'': 'src'},
packages = find_packages('src'),
packages = find_packages(),
include_package_data = True,
zip_safe = False,
)
Expand Down

0 comments on commit 34a91b7

Please sign in to comment.