-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (42 loc) · 1.49 KB
/
setup.py
File metadata and controls
50 lines (42 loc) · 1.49 KB
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
import os
from setuptools import setup
from setuptools import find_packages
base_dir = os.path.dirname(__file__)
about = {}
with open(os.path.join(base_dir, "munch_mailsend", "__about__.py")) as f:
exec(f.read(), about)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
def _find_packages(name):
return [name] + ['{}/{}'.format(name, f) for f in find_packages(name)]
setup(
name=about["__title__"],
version=about["__version__"],
packages=_find_packages('munch_mailsend') + \
_find_packages('munch_mailsend_tests'),
long_description=long_description,
license=about["__version__"],
description=about["__summary__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__uri__"],
install_requires=[],
extras_require={
'tests': [
'flake8==2.5.4',
'bumpversion==0.5.3',
'libfaketime==0.2.1']},
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', # noqa
]
)