-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (44 loc) · 1.39 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
import os
import re
from setuptools import setup, find_packages
def fix_doc(txt):
return re.sub(r'\.\. PYPI-BEGIN([\r\n]|.)*?PYPI-END', '', txt, re.DOTALL)
with open('README.rst') as fileR:
README = fix_doc(fileR.read())
with open('CHANGES.rst') as fileC:
CHANGES = fix_doc(fileC.read())
requires = [
'requests',
]
tests_require = []
setup(
name='MailGun-V3',
version='0.3.2',
description='Python Wrapper With Fluent API for Mailgun v3',
long_description=README + '\n\n' + CHANGES,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Communications :: Email',
'Topic :: Software Development :: Libraries :: Python Modules',
],
author='Martin Majlis',
author_email='[email protected]',
license='MIT',
url='https://github.com/martin-majlis/MailGunV3',
download_url='https://github.com/martin-majlis/MailGunV3/archive/master.tar.gz',
keywords='mailgun mail',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require={
'testing': tests_require,
},
install_requires=requires,
platforms='any',
)