Update packaging files.

This commit is contained in:
Roberto Rosario
2015-09-24 02:26:05 -04:00
parent 5e577f4b1a
commit 9efc07c4b4
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
include README.rst LICENSE HISTORY.rst include README.rst LICENSE HISTORY.rst
recursive-include mayan README *.txt *.html *.css *.ico *.png *.jpg *.js *.po *.mo *.ttf recursive-include mayan *.txt *.html *.css *.ico *.png *.jpg *.js *.po *.mo *.ttf
global-exclude mayan/settings/local.py mayan/settings/travis/* settings_local.* mayan.sqlite* db.sqlite* mayan/media gpg_home document_storage image_cache global-exclude mayan/settings/local.py mayan/settings/travis/* mayan/media/*

View File

@@ -50,6 +50,7 @@ def find_packages(directory):
packages.append('.'.join(fullsplit(dirpath))) packages.append('.'.join(fullsplit(dirpath)))
elif filenames: elif filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
return packages return packages
install_requires = """ install_requires = """
@@ -120,7 +121,7 @@ setup(
packages=find_packages(PACKAGE_DIR), packages=find_packages(PACKAGE_DIR),
platforms=['any'], platforms=['any'],
scripts=['mayan/bin/mayan-edms.py'], scripts=['mayan/bin/mayan-edms.py'],
url='https://github.com/mayan-edms/mayan-edms', url='https://gitlab.com/mayan-edms/mayan-edms',
version=mayan.__version__, version=mayan.__version__,
zip_safe=False, zip_safe=False,
) )