|
1 | | -import os |
2 | | -import sys |
3 | | -from setuptools import setup, find_packages |
4 | | - |
5 | | -with open(os.path.join(os.path.dirname(__file__), "mailboxer", "__version__.py")) as version_file: |
6 | | - exec(version_file.read()) # pylint: disable=W0122 |
7 | | - |
8 | | -_INSTALL_REQUIRES = [ |
9 | | - "requests", |
10 | | - "URLObject", |
11 | | -] |
12 | | - |
13 | | -setup(name="mailboxer-python", |
14 | | - classifiers = [ |
15 | | - "Programming Language :: Python :: 3.6", |
16 | | - "Programming Language :: Python :: 3.7", |
17 | | - "Programming Language :: Python :: 3.8", |
18 | | - "Programming Language :: Python :: 3.9", |
19 | | - ], |
20 | | - description="Client library for Mailboxer", |
21 | | - license="BSD3", |
22 | | - author="Rotem Yaari", |
23 | | - author_email="vmalloc@gmail.com", |
24 | | - version=__version__, # pylint: disable=E0602 |
25 | | - packages=find_packages(exclude=["tests"]), |
26 | | - |
27 | | - url="https://github.com/vmalloc/mailboxer-python", |
28 | | - |
29 | | - install_requires=_INSTALL_REQUIRES, |
30 | | - scripts=[], |
31 | | - namespace_packages=[] |
32 | | - ) |
| 1 | +#!/usr/bin/env python |
| 2 | +from setuptools import setup |
| 3 | + |
| 4 | +setup( |
| 5 | + setup_requires=['pbr>=3.0', 'setuptools>=17.1'], |
| 6 | + pbr=True, |
| 7 | + python_requires=">=3.6.*", |
| 8 | + long_description_content_type='text/markdown; charset=UTF-8', |
| 9 | +) |
0 commit comments