mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 01:39:26 +02:00
pypi fixes
This commit is contained in:
parent
b0db14d8b0
commit
eb17f57761
3 changed files with 39 additions and 10 deletions
11
setup.py
11
setup.py
|
@ -29,12 +29,6 @@ with open(here + "/README.md", "rb") as f:
|
|||
txt = f.read().decode("utf-8")
|
||||
long_description = txt
|
||||
|
||||
try:
|
||||
cmd = "bash scripts/genlic.sh copyparty/res/COPYING.txt"
|
||||
sp.Popen(cmd.split()).wait()
|
||||
except:
|
||||
pass
|
||||
|
||||
about = {}
|
||||
if not VERSION:
|
||||
with open(os.path.join(here, NAME, "__version__.py"), "rb") as f:
|
||||
|
@ -95,8 +89,6 @@ args = {
|
|||
"Development Status :: 5 - Production/Stable",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
|
@ -146,4 +138,7 @@ args = {
|
|||
"cmdclass": {"clean2": clean2},
|
||||
}
|
||||
|
||||
if sys.version_info < (3, 8):
|
||||
args["install_requires"].append("ipaddress")
|
||||
|
||||
setup(**args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue