| @@ -1,18 +1,18 @@ | |||||
| #!/usr/bin/env python | #!/usr/bin/env python | ||||
| import codecs | |||||
| import logging | import logging | ||||
| import os | import os | ||||
| import re | import re | ||||
| import sys | |||||
| import subprocess | import subprocess | ||||
| import sys | |||||
| import warnings | import warnings | ||||
| import codecs | |||||
| from pip.req import parse_requirements | |||||
| from setuptools import setup, find_packages, Command | from setuptools import setup, find_packages, Command | ||||
| from setuptools.command.test import test as TestCommand | from setuptools.command.test import test as TestCommand | ||||
| from pip.req import parse_requirements | |||||
| NAME = "wstools" | |||||
| url = "https://github.com/pycontribs/wstools.git" | |||||
| NAME = "wstools-py3" | |||||
| url = "https://github.com/Synerty/wstools-py3" | |||||
| # Get the version - do not use normal import because it does break coverage | # Get the version - do not use normal import because it does break coverage | ||||
| base_path = os.path.dirname(__file__) | base_path = os.path.dirname(__file__) | ||||
| @@ -94,8 +94,9 @@ class Release(Command): | |||||
| "This version was already released, remove it from PyPi if you want to release it" | "This version was already released, remove it from PyPi if you want to release it" | ||||
| " again or increase the version number. http://pypi.python.org/pypi/%s/" % NAME) | " again or increase the version number. http://pypi.python.org/pypi/%s/" % NAME) | ||||
| elif released_version > __version__: | elif released_version > __version__: | ||||
| raise RuntimeError("Cannot release a version (%s) smaller than the PyPI current release (%s)." % ( | |||||
| __version__, released_version)) | |||||
| raise RuntimeError( | |||||
| "Cannot release a version (%s) smaller than the PyPI current release (%s)." % ( | |||||
| __version__, released_version)) | |||||
| class PreRelease(Command): | class PreRelease(Command): | ||||
| @@ -143,14 +144,14 @@ setup( | |||||
| license='BSD', | license='BSD', | ||||
| description="WSDL parsing services package for Web Services for Python. see" + url, | description="WSDL parsing services package for Web Services for Python. see" + url, | ||||
| long_description=open("README.rst").read(), | long_description=open("README.rst").read(), | ||||
| maintainer="Sorin Sbarnea", | |||||
| maintainer_email="sorin.sbarnea@gmail.com", | |||||
| maintainer="Synerty", | |||||
| maintainer_email="contact@synerty.com", | |||||
| author='Makina Corpus', | author='Makina Corpus', | ||||
| author_email='python@makina-corpus.com', | author_email='python@makina-corpus.com', | ||||
| provides=[NAME], | provides=[NAME], | ||||
| url='https://github.com/pycontribs/wstools', | |||||
| bugtrack_url='https://github.com/pycontribs/wstools/issues', | |||||
| home_page='https://github.com/pycontribs/wstools', | |||||
| url=url, | |||||
| bugtrack_url='%s/issues' % url, | |||||
| home_page=url, | |||||
| keywords='api wstools wdsl web', | keywords='api wstools wdsl web', | ||||
| classifiers=[ | classifiers=[ | ||||
| 'Programming Language :: Python', | 'Programming Language :: Python', | ||||