diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ac458df..c383ed65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +3.1.1 +===== + +* Platform specific wheel to prevent pyinotify install by accident. #91 #78 + 3.1.0 ===== diff --git a/client/setup-lite.py b/client/setup-lite.py deleted file mode 100644 index c4c15be5..00000000 --- a/client/setup-lite.py +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -""" -wdb lite -""" -import os -import sys -import re -from setuptools import setup - -ROOT = os.path.dirname(__file__) -with open(os.path.join(ROOT, 'wdb', '__init__.py')) as fd: - __version__ = re.search("__version__ = '([^']+)'", fd.read()).group(1) - -requires = [] - -if sys.version_info[:2] <= (2, 6): - requires.append('argparse') - -options = dict( - name="wdb-lite", - version=__version__, - description="An improbable web debugger through WebSockets " - "(client only, minimal dependencies)", - long_description="See http://github.com/Kozea/wdb", - author="Florian Mounier @ kozea", - author_email="florian.mounier@kozea.fr", - url="http://github.com/Kozea/wdb", - license="GPLv3", - platforms="Any", - packages=['wdb'], - provides=['wdb'], - install_requires=requires, - entry_points={'console_scripts': [ - 'wdb=wdb.__main__:main', - 'wdb-%s=wdb.__main__:main' % sys.version[:3]]}, - classifiers=[ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Operating System :: OS Independent", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", - "Topic :: Software Development :: Debuggers"]) - -setup(**options) diff --git a/release.sh b/release.sh index f94be108..32a6d9d6 100755 --- a/release.sh +++ b/release.sh @@ -9,16 +9,11 @@ echo "$OLD_VERSION -> $NEW_VERSION" git ls-files | grep -E ".+\.coffee|.+\.json|.+\.py" | xargs sed -i -e "s/$OLD_VERSION_RE/$NEW_VERSION/g" pushd server grunt -python setup.py sdist bdist_wheel upload +python setup.py sdist bdist_wheel --universal --plat-name=linux-x86_64 upload popd pushd client -python setup.py sdist bdist_wheel upload -mv setup.py setup-full.py -mv setup-lite.py setup.py -python setup.py sdist bdist_wheel upload -mv setup.py setup-lite.py -mv setup-full.py setup.py +python setup.py sdist bdist_wheel --universal --plat-name=linux-x86_64 upload popd git commit -am "Bump Version $OLD_VERSION -> $NEW_VERSION"