GeezerVison is showing github.com — chore: Update ALP4lib to version 1.0.2 and improve code formatting · wavefrontshaping/ALP4lib@dac1cc3
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: setup.py +13-15Lines changed: 13 additions & 15 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 | from setuptools import setup | 5 | 5 | import os | 6 | 6 |
| 7 | | -long_description = 'Please read the documentation on Github and official Vialux documentation.' | 8 | | -if os.path.exists('README.txt'): | 9 | | - long_description = open('README.txt').read() | | 7 | +long_description = ( | | 8 | + "Please read the documentation on Github and official Vialux documentation." | | 9 | +) | | 10 | +if os.path.exists("README.txt"): | | 11 | + long_description = open("README.txt").read() | 10 | 12 |
| 11 | 13 | setup( | 12 | 14 | name="ALP4lib", | 13 | | - version="1.0.1", | | 15 | + version="1.0.2", | 14 | 16 | author="Sebastien Popoff", | 15 | 17 | | 16 | | - description=("A module to control Vialux DMDs based on ALP4.X API." | 17 | | - "It uses the .ddl files provided by Vialux."), | | 18 | + description=( | | 19 | + "A module to control Vialux DMDs based on ALP4.X API." | | 20 | + "It uses the .ddl files provided by Vialux." | | 21 | + ), | 18 | 22 | license="MIT", | 19 | 23 | keywords="DMD Vialux", | 20 | 24 | url="https://github.com/wavefronthsaping/ALP4lib", | 21 | | - package_dir={'': 'src'}, | 22 | | - py_modules=['ALP4'], | | 25 | + package_dir={"": "src"}, | | 26 | + py_modules=["ALP4"], | 23 | 27 | long_description=long_description, | 24 | 28 | classifiers=[ | 25 | 29 | "Programming Language :: Python :: 2", | | 29 | 33 | "Topic :: Scientific/Engineering", | 30 | 34 | "License :: OSI Approved :: MIT License", | 31 | 35 | ], | 32 | | - install_requires=[ | 33 | | - 'numpy', | 34 | | - 'matplotlib', | 35 | | - 'scipy', | 36 | | - 'numba', | 37 | | - 'joblib' | 38 | | - ], | | 36 | + install_requires=["numpy", "matplotlib", "scipy", "numba", "joblib"], | 39 | 37 | ) |
Collapse file Copy file name to clipboardExpand all lines: src/ALP4.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -411,7 +411,7 @@ def afficheur(bitPlane): | 411 | 411 | return display | 412 | 412 |
| 413 | 413 |
| 414 | | -def img_to_bitplane(imgArray, bitShift): | | 414 | +def img_to_bitplane(imgArray): | 415 | 415 | """ | 416 | 416 | Convert a binary image into a bitplane. | 417 | 417 | """ | |
|