Update setup.py and associated files
This commit is contained in:
14
HISTORY.rst
Normal file
14
HISTORY.rst
Normal 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
3
MANIFEST.in
Normal 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
11
mayan/bin/mayan-edms.py
Executable 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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
12
setup.py
12
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,
|
||||
|
||||
Reference in New Issue
Block a user