diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b11ff84 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +# See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project +# for python packaging reference. + +.PHONY: wheel install clean + +wheel: + python setup.py bdist_wheel --universal + +upload: + twine upload dist/* + +install: + python setup.py install --user + +launch: + ./launch.sh + +clean: + rm -rf build dist virtscreen.egg-info diff --git a/README.md b/README.md index ab15e86..cd28092 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # VirtScreen + > Make your iPad/tablet/computer as a secondary monitor on Linux. ![gif example](https://github.com/kbumsik/VirtScreen/blob/d2387d3321bd4d110d890ca87703196df203dc89/icon/gif_example.gif?raw=true) @@ -18,7 +19,13 @@ $ sudo apt-get install x11vnc ### Installing package -#### From the Git repository +#### Using `pip` + +```bash +$ pip install virtscreen +``` + +#### From the Git repository directly ```bash $ python setup.py install # add --user option if you have permission problem