diff --git a/HISTORY.rst b/HISTORY.rst new file mode 100644 index 0000000000..d3e53012f6 --- /dev/null +++ b/HISTORY.rst @@ -0,0 +1,14 @@ +1.0 (XX/XX/XXXX) +================ + +- New repository: https://github.com/mayan-edms/mayan-edms +- Update required version of Django to 1.5 +- Translation update and inclusion of new languages +- Use of related_name in some models +- Removal of circular imports +- Removal of included 3rd party modules +- Automatic testing and code coverage check +- Update of required modules and libraries versions +- Database connection leaks +- Deletion of detached signatures +- Removal of fabric based installations diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000000..9b0cd9dde1 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst LICENSE HISTORY.rst +recursive-include mayan *.txt *.html *.css *.ico *.png + diff --git a/mayan/bin/mayan-edms.py b/mayan/bin/mayan-edms.py new file mode 100755 index 0000000000..47a0084392 --- /dev/null +++ b/mayan/bin/mayan-edms.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mayan.settings") + + from django.core.management import execute_from_command_line + + execute_from_command_line(sys.argv) + diff --git a/requirements/common.txt b/requirements/common.txt index 6f3debbb46..efc76c81df 100644 --- a/requirements/common.txt +++ b/requirements/common.txt @@ -19,7 +19,7 @@ PyYAML==3.10 pbs==0.105 pdfminer==20110227 psutil==0.5.1 -https://github.com/rosarior/python-gnupg/zipball/0.2.8 +python-gnupg==0.3.6 python-hkp==0.1.3 python-magic==0.4.6 diff --git a/setup.py b/setup.py index 344a1ff6b6..6c32069048 100644 --- a/setup.py +++ b/setup.py @@ -53,8 +53,8 @@ def find_packages(directory): def get_requirements(): - with open(os.path.join(PACKAGE_DIR, 'requirements/common.txt')) as f: - requires = [requirement.replace('==', '>=') for requirement in f.readlines()] + with open('requirements/common.txt') as f: + requires = [requirement.replace('==', '>=') for requirement in f.readlines() if requirement != '\n'] return requires @@ -64,10 +64,6 @@ with open('HISTORY.rst') as f: history = f.read() with open('LICENSE') as f: license = f.read() -with open('AUTHORS.rst') as f: - authors = f.read() - - setup( author='Roberto Rosario', @@ -92,11 +88,11 @@ setup( include_package_data=True, install_requires=get_requirements(), license=license, - long_description=readme + '\n\n' + history + '\n\n' + authors, + long_description=readme + '\n\n' + history, name=PACKAGE_NAME, packages=find_packages(PACKAGE_DIR), platforms=['any'], - scripts=['mayan/bin/mayan-admin.py'], + scripts=['mayan/bin/mayan-edms.py'], url='https://github.com/mayan-edms/mayan-edms', version=mayan.__version__, zip_safe=False,