Skip to content

Commit fc349a2

Browse files
author
Saurabh Kumar
committed
Add wheel support
1 parent 93a2cc6 commit fc349a2

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.PHONY: clean-pyc clean-build
2+
3+
clean: clean-build clean-pyc
4+
5+
clean-build:
6+
rm -fr build/
7+
rm -fr dist/
8+
rm -fr *.egg-info
9+
10+
clean-pyc:
11+
find . -name '*.pyc' -exec rm -f {} +
12+
find . -name '*.pyo' -exec rm -f {} +
13+
find . -name '*~' -exec rm -f {} +
14+
15+
release: clean
16+
python setup.py sdist upload
17+
python setup.py bdist_wheel upload
18+
19+
sdist: clean
20+
python setup.py sdist
21+
ls -l dist

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ pytest>=2.6.2
33
sh>=1.09
44
bumpversion
55
coverage==3.7.1
6+
wheel

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[bdist_wheel]
2+
universal = 1
3+
14
[flake8]
25
max-line-length = 120
36
exclude = .tox,.git,venv,docs

0 commit comments

Comments
 (0)