comparison setup.py @ 46:dc198b661149

Style (setup.py)
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 19 Jan 2022 01:04:36 +0100
parents 1de48e84a5fb
children ae2df602beb4
comparison
equal deleted inserted replaced
45:b25ef7293bf2 46:dc198b661149
21 21
22 with open(os.path.join(pkg_root, "_cutils.py"), "rb") as vf: 22 with open(os.path.join(pkg_root, "_cutils.py"), "rb") as vf:
23 version = _version_re.search(vf.read()).group(2).decode("utf-8") 23 version = _version_re.search(vf.read()).group(2).decode("utf-8")
24 24
25 with open(os.path.join(pkg_root, "README.txt"), "rt") as rf: 25 with open(os.path.join(pkg_root, "README.txt"), "rt") as rf:
26 long_description = rf.read() 26 long_description = rf.read()
27 27
28 setup( 28 setup(
29 name="py-cutils", 29 name="py-cutils",
30 version=version, 30 version=version,
31 author="Franz Glasner", 31 author="Franz Glasner",
33 url="https://pypi.dom66.de/simple/py-cutils/", 33 url="https://pypi.dom66.de/simple/py-cutils/",
34 description="Pure Python implementation of some coreutils", 34 description="Pure Python implementation of some coreutils",
35 long_description=long_description, 35 long_description=long_description,
36 py_modules=["_cutils", 36 py_modules=["_cutils",
37 "dos2unix", 37 "dos2unix",
38 "shasum",], 38 "shasum", ],
39 include_package_data=False, 39 include_package_data=False,
40 zip_safe=True, 40 zip_safe=True,
41 platforms="any", 41 platforms="any",
42 classifiers=[ 42 classifiers=[
43 "Development Status :: 5 - Production/Stable", 43 "Development Status :: 5 - Production/Stable",
51 "Programming Language :: Python :: 3", 51 "Programming Language :: Python :: 3",
52 "Topic :: System", 52 "Topic :: System",
53 "Topic :: Utilities", 53 "Topic :: Utilities",
54 ], 54 ],
55 python_requires=">=2.7", 55 python_requires=">=2.7",
56 entry_points = { 56 entry_points={
57 "console_scripts": [ 57 "console_scripts": [
58 "py-dos2unix=dos2unix:main", 58 "py-dos2unix=dos2unix:main",
59 "py-shasum=shasum:main", 59 "py-shasum=shasum:main",
60 ] 60 ]
61 } 61 }