Skip to content

Commit 2b3644b

Browse files
Update setup.py
1 parent 3e5388a commit 2b3644b

File tree

1 file changed

+23
-92
lines changed

1 file changed

+23
-92
lines changed

setup.py

Lines changed: 23 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,24 @@
1-
"""A setuptools based setup module.
2-
3-
See:
4-
https://packaging.python.org/en/latest/distributing.html
5-
https://github.com/pypa/sampleproject
6-
"""
7-
8-
# Always prefer setuptools over distutils
9-
from setuptools import setup, find_packages
10-
# To use a consistent encoding
11-
from codecs import open
12-
from os import path
13-
14-
here = path.abspath(path.dirname(__file__))
15-
16-
# Get the long description from the README file
17-
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
18-
long_description = f.read()
19-
20-
setup(
21-
name='MailboxValidator',
22-
23-
# Versions should comply with PEP440. For a discussion on single-sourcing
24-
# the version across setup.py and the project code, see
25-
# https://packaging.python.org/en/latest/single_source_version.html
26-
version='1.0.8',
27-
28-
description='Email verification module for Python using MailboxValidator API. It validates if the email is valid, from a free provider, contains high-risk keywords, whether it\'s a catch-all address and so much more.',
29-
long_description=long_description,
30-
31-
# The project's main homepage.
32-
url='https://github.com/MailboxValidator/mailboxvalidator-python',
33-
34-
# Author details
35-
author='MailboxValidator.com',
36-
author_email='[email protected]',
37-
38-
# Choose your license
39-
license='LGPLv3',
40-
41-
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
42-
classifiers=[
43-
# How mature is this project? Common values are
44-
# 3 - Alpha
45-
# 4 - Beta
46-
# 5 - Production/Stable
47-
'Development Status :: 5 - Production/Stable',
48-
49-
# Indicate who your project is intended for
50-
'Intended Audience :: Developers',
51-
'Topic :: Software Development :: Libraries :: Python Modules',
52-
53-
# Pick your license as you wish (should match "license" above)
54-
'License :: OSI Approved :: GNU Lesser General Public License v3',
55-
56-
# Specify the Python versions you support here. In particular, ensure
57-
# that you indicate whether you support Python 2, Python 3 or both.
58-
# 'Programming Language :: Python :: 2',
59-
# 'Programming Language :: Python :: 2.7',
60-
'Programming Language :: Python :: 3',
61-
'Programming Language :: Python :: 3.3',
62-
'Programming Language :: Python :: 3.4',
63-
'Programming Language :: Python :: 3.5',
64-
],
65-
66-
# What does your project relate to?
67-
keywords='email validation, development',
68-
69-
# You can just specify the packages manually here if your project is
70-
# simple. Or you can use find_packages().
71-
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
72-
73-
# Alternatively, if you want to distribute just a my_module.py, uncomment
74-
# this:
75-
# py_modules=["my_module"],
76-
77-
# List run-time dependencies here. These will be installed by pip when
78-
# your project is installed. For an analysis of "install_requires" vs pip's
79-
# requirements files see:
80-
# https://packaging.python.org/en/latest/requirements.html
81-
# install_requires=['httplib','urllib','hashlib'],
82-
83-
python_requires='>=3',
84-
85-
# List additional groups of dependencies here (e.g. development
86-
# dependencies). You can install these using the following syntax,
87-
# for example:
88-
# $ pip install -e .[dev,test]
89-
extras_require={
90-
'dev': ['check-manifest'],
91-
'test': ['coverage'],
92-
},
1+
import setuptools
2+
3+
with open("README.md", "r") as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name="MailboxValidator",
8+
version="1.0.13",
9+
author="MailboxValidator.com",
10+
author_email="[email protected]",
11+
description="Email verification module for Python using MailboxValidator API. It validates if the email is valid, from a free provider, contains high-risk keywords, whether it\'s a catch-all address and so much more.",
12+
long_description=long_description,
13+
long_description_content_type="text/markdown",
14+
url="https://github.com/MailboxValidator/mailboxvalidator-python",
15+
packages=setuptools.find_packages(),
16+
classifiers=(
17+
"Development Status :: 5 - Production/Stable",
18+
"Intended Audience :: Developers",
19+
"Topic :: Software Development :: Libraries :: Python Modules",
20+
"Programming Language :: Python :: 3",
21+
"License :: OSI Approved :: MIT License",
22+
"Operating System :: OS Independent",
23+
),
9324
)

0 commit comments

Comments
 (0)