Skip to content

Commit

Permalink
add py39 and setup_py to setup_cfg (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkittner committed Nov 11, 2020
1 parent df5dbf9 commit ad53fb4
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 52 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python:
- '3.6'
- '3.7'
- '3.8'
- '3.9'

install:
- make install
Expand Down
40 changes: 37 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,42 @@
[bdist_wheel]
universal = 1

[metadata]
name = email_validator
version = 1.1.2
description = A robust email syntax and deliverability validation library for Python 2.x/3.x.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/JoshData/python-email-validator
author = Joshua Tauberer
author_email = jt@occams.info
license = CC0 (copyright waived)
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Libraries :: Python Modules
keywords = email address validator

[options]
packages = find:
install_requires =
dnspython>=1.15.0
idna>=2.0.0
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*

[options.entry_points]
console_scripts =
email_validator=email_validator:main

[bdist_wheel]
universal = 1

[flake8]
max-line-length = 120
Expand Down
51 changes: 2 additions & 49 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,49 +1,2 @@
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from codecs import open

setup(
name='email-validator',
version='1.1.2',

description='A robust email syntax and deliverability validation library for Python 2.x/3.x.',
long_description=open("README.md", encoding='utf-8').read(),
long_description_content_type="text/markdown",
url='https://github.com/JoshData/python-email-validator',

author=u'Joshua Tauberer',
author_email=u'jt@occams.info',
license='CC0 (copyright waived)',

# See https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',

'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',

'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],

keywords="email address validator",

packages=find_packages(),
install_requires=[
"idna>=2.0.0",
"dnspython>=1.15.0"],

entry_points={
'console_scripts': [
'email_validator=email_validator:main',
],
},
)
from setuptools import setup
setup()

0 comments on commit ad53fb4

Please sign in to comment.