Also fix setup.py and the configuration file

This commit is contained in:
Nico Schottelius 2019-12-31 11:37:52 +01:00
parent 6682f127f1
commit 4c7678618d
2 changed files with 4 additions and 4 deletions

View file

@ -6,9 +6,9 @@ with open("README.md", "r") as fh:
long_description = fh.read() long_description = fh.read()
try: try:
import ucloud.version import uncloud.version
version = ucloud.version.VERSION version = uncloud.version.VERSION
except: except:
import subprocess import subprocess
@ -42,9 +42,9 @@ setup(
"etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3", "etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3",
"marshmallow", "marshmallow",
], ],
scripts=["scripts/ucloud"], scripts=["scripts/uncloud"],
data_files=[ data_files=[
(os.path.expanduser("~/ucloud/"), ["conf/ucloud.conf"]) (os.path.expanduser("~/uncloud/"), ["conf/uncloud.conf"])
], ],
zip_safe=False, zip_safe=False,
) )