Skip to content

Commit ef3156a

Browse files
committed
make publish will be adding wheels.
1 parent f9577cd commit ef3156a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ safetest:
3131
export SKIP_TRUE_REDIS=1; export SKIP_TRUE_HTTP=1; make test
3232

3333
publish:
34-
python setup.py sdist
34+
python setup.py sdist bdist_wheel
3535
pip install -U twine
36-
twine upload dist/mocket-$(shell python -c 'import mocket; print(mocket.__version__)').tar.gz
36+
twine upload dist/mocket-$(shell python -c 'import mocket; print(mocket.__version__)')*.*
3737
pip install -U anaconda-client
3838
anaconda upload dist/mocket-$(shell python -c 'import mocket; print(mocket.__version__)').tar.gz
3939

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def read_version(package):
1717
with io.open(init_path, 'r') as fd:
1818
for line in fd:
1919
if line.startswith('__version__ = '):
20-
return line.split()[-1].strip().strip("'")
20+
return line.split()[-1].strip().strip('"')
2121

2222

2323
package_name = 'mocket'

0 commit comments

Comments
 (0)