twine: author_email: Invalid email address. for url: https://upload.pypi.org/legacy/
I have been trying to clone a project and then submit to PYPI so it’s downloadable via pip. Currently we are linking to the users github account and no longer want to do that. So we have cloned the repo…
I have tried changing both author and email as well as omiting them, but the error is the same in each case.
setup.py looks like this.
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
try:
# Workaround for http://bugs.python.org/issue15881
import multiprocessing
except ImportError:
pass
VERSION = '0.4.6'
if __name__ == '__main__':
setup(
name = 'hbx-django-tastypie-mongoengine',
version = VERSION,
description = "MongoEngine support for django-tastypie. Fixed for Django 1.9+",
long_description = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
author = 'wlan slovenija',
author_email = 'open@wlan-si.net,
url = 'https://github.com/HBS-HBX/django-tastypie-mongoengine',
keywords = "REST RESTful tastypie mongo mongodb mongoengine django",
license = 'AGPLv3',
packages = find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
classifiers = (
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
),
zip_safe = False,
install_requires = (
'Django>=1.9.7',
'django-tastypie>=0.13.3',
'mongoengine>=0.10.6',
'python-dateutil>=2.5.0',
'lxml',
'defusedxml',
'PyYAML',
'biplist',
'python-mimeparse>=1.5.0',
),
test_suite = 'tests.runtests.runtests',
tests_require = (
'Django>=1.9.7',
'django-tastypie>=0.13.3',
'mongoengine>=0.10.6',
'python-dateutil>=2.5.0',
'lxml',
'defusedxml',
'PyYAML',
'biplist',
'python-mimeparse>=1.5.0',
'nose',
),
)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (6 by maintainers)
@di that is a good question. I tried it with the original maintainer first and then changed it to mine thinking that perhaps my PYPI account wanted my email address…
This is the output from the wipe/rebuild
@gnulnx If you could include the email address string that was actually giving you the error here instead, it’d be a little easier to figure out why it was giving you an error. 🙂