Skip to content

Commit cf4d78f

Browse files
committed
distribute as a wheel, fixes #15
1 parent ca2c3b7 commit cf4d78f

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ is more appropriate for. And this library does NOT permit obsolete
2121
forms of email addresses, so if you need strict validation against the
2222
email specs exactly, use `pyIsEmail <https://github.com/michaelherold/pyIsEmail>`__.
2323

24-
The current version is 1.0.1 (March 6, 2016).
24+
The current version is 1.0.3 (Sept 12, 2017). The only changes since 1.0.0 (Sept 5, 2015)
25+
have been small bug and packaging fixes.
2526

2627
Installation
2728
------------
@@ -386,3 +387,12 @@ them through the validator (without deliverability checks) like so:
386387

387388
python3 email_validator/__init__.py --tests < test_pass.txt
388389

390+
For Project Maintainers
391+
-----------------------
392+
393+
To publish a universal wheel to pypi::
394+
395+
pip3 install twine
396+
rm -rf dist
397+
python3 setup.py bdist_wheel --universal
398+
twine upload dist/*

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# -*- coding: utf-8 -*-
22

3-
# To deploy:
4-
# rm -rf dist && python3 setup.py sdist && twine upload dist/*
5-
63
import sys
74
from setuptools import setup, find_packages
85
from codecs import open
96

107
setup(
118
name='email_validator',
12-
version='1.0.2',
9+
version='1.0.3',
1310

1411
description='A robust email syntax and deliverability validation library for Python 2.x/3.x.',
1512
long_description=open("README.rst", encoding='utf-8').read(),
@@ -30,7 +27,7 @@
3027
'Programming Language :: Python :: 2.7',
3128
'Programming Language :: Python :: 3',
3229
'Programming Language :: Python :: 3.4',
33-
'Programming Language :: Python :: 3.5',
30+
'Programming Language :: Python :: 3.5',
3431
],
3532

3633
keywords="email address validator",

0 commit comments

Comments
 (0)