Update setup.py and associated files

This commit is contained in:
Roberto Rosario
2014-06-21 02:59:18 -04:00
parent ce5fdd9477
commit 1ed07736cb
5 changed files with 33 additions and 9 deletions

14
HISTORY.rst Normal file
View File

@@ -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

3
MANIFEST.in Normal file
View File

@@ -0,0 +1,3 @@
include README.rst LICENSE HISTORY.rst
recursive-include mayan *.txt *.html *.css *.ico *.png

11
mayan/bin/mayan-edms.py Executable file
View File

@@ -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)

View File

@@ -19,7 +19,7 @@ PyYAML==3.10
pbs==0.105 pbs==0.105
pdfminer==20110227 pdfminer==20110227
psutil==0.5.1 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-hkp==0.1.3
python-magic==0.4.6 python-magic==0.4.6

View File

@@ -53,8 +53,8 @@ def find_packages(directory):
def get_requirements(): def get_requirements():
with open(os.path.join(PACKAGE_DIR, 'requirements/common.txt')) as f: with open('requirements/common.txt') as f:
requires = [requirement.replace('==', '>=') for requirement in f.readlines()] requires = [requirement.replace('==', '>=') for requirement in f.readlines() if requirement != '\n']
return requires return requires
@@ -64,10 +64,6 @@ with open('HISTORY.rst') as f:
history = f.read() history = f.read()
with open('LICENSE') as f: with open('LICENSE') as f:
license = f.read() license = f.read()
with open('AUTHORS.rst') as f:
authors = f.read()
setup( setup(
author='Roberto Rosario', author='Roberto Rosario',
@@ -92,11 +88,11 @@ setup(
include_package_data=True, include_package_data=True,
install_requires=get_requirements(), install_requires=get_requirements(),
license=license, license=license,
long_description=readme + '\n\n' + history + '\n\n' + authors, long_description=readme + '\n\n' + history,
name=PACKAGE_NAME, name=PACKAGE_NAME,
packages=find_packages(PACKAGE_DIR), packages=find_packages(PACKAGE_DIR),
platforms=['any'], platforms=['any'],
scripts=['mayan/bin/mayan-admin.py'], scripts=['mayan/bin/mayan-edms.py'],
url='https://github.com/mayan-edms/mayan-edms', url='https://github.com/mayan-edms/mayan-edms',
version=mayan.__version__, version=mayan.__version__,
zip_safe=False, zip_safe=False,