Skip to content

Commit

Permalink
[release-v2] Added Makefile, ignore pycache
Browse files Browse the repository at this point in the history
This commit prepares the release of v2 by bumping the version in 'setup.py'.
Added a Makefile to simplify the build / install / clean steps.
Now ignoring the '__pycache__' folders in the gitignore.
  • Loading branch information
rchaput committed Apr 2, 2022
1 parent ad5fa1d commit 1629f91
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.idea

**/.cache
**/__pycache__
build/**
dist/**
XDG_Prefs.egg-info/**
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SRC = xdgprefs requirements.txt setup.py

build-wheel: $(SRC)
python setup.py bdist_wheel

install: $(SRC)
python setup.py install

clean:
rm -rf build dist XDG_Prefs.egg-info
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read(fname):

setup(
name='XDG-Prefs',
version='0.1',
version='0.2',

packages=['xdgprefs', 'xdgprefs.core', 'xdgprefs.gui'],
install_requires=['PySide2'],
Expand Down

0 comments on commit 1629f91

Please sign in to comment.