Refactoring, Removal of most global vars, config default path is ~/ucloud/
This commit is contained in:
parent
bc58a6ed9c
commit
04993e4106
23 changed files with 673 additions and 726 deletions
4
setup.py
4
setup.py
|
|
@ -1,3 +1,5 @@
|
|||
import os
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
|
|
@ -39,5 +41,5 @@ setup(name='ucloud',
|
|||
'etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3',
|
||||
],
|
||||
scripts=['scripts/ucloud'],
|
||||
data_files=[('/etc/ucloud/', ['conf/ucloud.conf'])],
|
||||
data_files=[(os.path.expanduser('~/ucloud/'), ['conf/ucloud.conf'])],
|
||||
zip_safe=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue