Skip to content

Commit

Permalink
Create MANIFEST.in file to include LICENSE.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
boppreh committed Mar 23, 2020
1 parent 8cfc9e4 commit 4ea4a85
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include CHANGES.md
include README.md
include LICENSE.txt
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ tests:
python -m coverage run -am keyboard._mouse_tests
python -m coverage report && coverage3 html

build: tests keyboard setup.py
build: tests keyboard setup.py README.md CHANGES.md MANIFEST.in
python ../docstring2markdown/docstring2markdown.py keyboard "https://github.com/boppreh/keyboard/blob/master" > README.md
find . \( -name "*.py" -o -name "*.sh" -o -name "* .md" \) -exec dos2unix {} \;
python setup.py sdist --format=zip bdist_wheel --universal bdist_wininst && twine check dist/*
python setup.py sdist --format=zip bdist_wheel && twine check dist/*

release:
python make_release.py
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ keyboard.wait()
- Media keys on Linux may appear nameless (scan-code only) or not at all. [#20](https://github.com/boppreh/keyboard/issues/20)
- Key suppression/blocking only available on Windows. [#22](https://github.com/boppreh/keyboard/issues/22)
- To avoid depending on X, the Linux parts reads raw device files (`/dev/input/input*`)
but this requries root.
but this requires root.
- Other applications, such as some games, may register hooks that swallow all
key events. In this case `keyboard` will be unable to report events.
- This program makes no attempt to hide itself, so don't use it for keyloggers or online gaming bots. Be responsible.
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
author='BoppreH',
author_email='boppreh@gmail.com',
packages=['keyboard'],
package_data={'keyboard': ['*.md']},
url='https://github.com/boppreh/keyboard',
license='MIT',
description='Hook and simulate keyboard events on Windows and Linux',
Expand Down

0 comments on commit 4ea4a85

Please sign in to comment.