unodit
unodit copied to clipboard
Add setup.py / distribute via pypi.
type: feature request
severity: none
category: packaging
priority: very low
I'm tempted to say that unodit should be available per pypi. But of course that might require some renaming. Such as "pythonpath" becoming "unodit" and "unodit.py" contained as "unodit/init.py".
And I realize resource packing (templates/src) is what makes this task fairly difficult. But often you can just move them below the package dir as well, and have them included alongside:
setup(
...,
name="unodit",
version="0.8.0",
long_description="README.rst",
packages=["unodit"],
package_dir={"": "unodit"},
package_data={
"unodit": [
"./src/*.*",
"./templates/*.*",
"./resources/*"
],
},
include_package_data=True,
# data_files=[("man/man1", ["manpage/unodit.1"])],
entry_points={
"console_scripts": [
"unodit=unodit:main",
]
}
Again, not essential. Just a "nice to have".
(zip/git download works just fine.)