This repository was archived by the owner on May 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
64 lines (55 loc) · 1.62 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import os
from setuptools import setup, find_packages
import exportdb
def read_file(name):
with open(os.path.join(os.path.dirname(__file__), name)) as f:
return f.read()
readme = read_file('README.rst')
requirements = [
'Django',
'django-appconf',
'django-import-export',
'celery',
'django-celery',
'rules',
]
test_requirements = [
'mock',
'factory-boy',
'coverage'
]
setup(
name='django-exportdb',
version=exportdb.get_version(),
license='MIT',
# Packaging
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
install_requires=requirements,
extras_require={
'test': test_requirements,
},
zip_safe=False,
tests_require=test_requirements,
test_suite='tests.runtests.runtests',
# PyPI metadata
description='Dump the entire database to xlsx workbook with a sheet per model',
long_description='\n\n'.join([readme]),
author='Maykin Media, Sergei Maertens',
author_email='sergei@maykinmedia.nl',
platforms=['any'],
url='https://github.com/maykinmedia/django-exportdb',
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django :: 1.6',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Intended Audience :: Developers',
'Operating System :: Unix',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Application Frameworks'
]
)