File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ safetest:
3131 export SKIP_TRUE_REDIS=1; export SKIP_TRUE_HTTP=1; make test
3232
3333publish :
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
Original file line number Diff line number Diff 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
2323package_name = 'mocket'
You can’t perform that action at this time.
0 commit comments