Skip to content

Commit

Permalink
Drop Python 2.7 (pibooth does not support it anymore)
Browse files Browse the repository at this point in the history
  • Loading branch information
anxuae committed May 26, 2021
1 parent 7b810a3 commit 0eadf7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ In addition to the standard ``{state}.wav`` and ``{state_loop}.wav`` states, oth
- if you want to play the same sound for each time of the countdown, name it as ``preview_countdown.wav``,
- if you want to play different sounds for each time of the countdown, simply add corresponding files in the sound folder (e.g.: ``3.wav``, ``2.wav``, ``1.wav``)

.. note:: These specific sounds are cutted to be 1 second long, and if some are missing, it will be replaced either by ``preview_countdown.wav`` (if it exists) or one second of silence.
.. note:: These specific sounds are cut to be 1 second long, and if some are missing, it will be replaced either by ``preview_countdown.wav`` (if it exists) or one second of silence.

.. |PythonVersions| image:: https://img.shields.io/badge/python-3.6+-red.svg
:target: https://www.python.org/downloads
:alt: Python 2.7+/3.6+
:alt: Python 3.6+

.. |PypiPackage| image:: https://badge.fury.io/py/pibooth-sound-effects.svg
:target: https://pypi.org/project/pibooth-sound-effects
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import os.path as osp
from setuptools import setup

import pibooth_sound_effects as plugin

HERE = osp.abspath(osp.dirname(__file__))
sys.path.insert(0, HERE)
import pibooth_sound_effects as plugin # nopep8 : import shall be done after adding setup to paths


def main():
Expand Down Expand Up @@ -45,17 +45,15 @@ def main():
'pygame'
],
packages=['pibooth_sound_effects'],
python_requires=">=3.6",
install_requires=[
'pibooth>=2.0.0',
],
include_package_data=True,
options={
'bdist_wheel':
{'universal': True}
},
zip_safe=True, # Don't install the lib as an .egg zipfile
entry_points={'pibooth': ["pibooth_sound_effects = pibooth_sound_effects.pibooth_sound_effects"]},
)


if __name__ == '__main__':
main()

0 comments on commit 0eadf7b

Please sign in to comment.