Install WordOps from pypi

This commit is contained in:
VirtuBox
2019-10-05 12:29:49 +02:00
parent c94d12640b
commit 6329b61879
2 changed files with 21 additions and 78 deletions

View File

@@ -10,24 +10,26 @@ with open("README.md", "r") as fh:
conf = []
templates = []
short_description = """An essential toolset that eases WordPress
site and server administration"""
for name in glob.glob('config/plugins.d/*.conf'):
conf.insert(1, name)
for name in glob.glob('wo/cli/templates/*.mustache'):
templates.insert(1, name)
if os.geteuid() == 0:
if not os.path.exists('/var/log/wo/'):
os.makedirs('/var/log/wo/')
if not os.path.exists('/var/log/wo/'):
os.makedirs('/var/log/wo/')
if not os.path.exists('/var/lib/wo/tmp/'):
os.makedirs('/var/lib/wo/tmp/')
if not os.path.exists('/var/lib/wo/tmp/'):
os.makedirs('/var/lib/wo/tmp/')
setup(name='wordops',
version='3.9.9.2',
description='WordPress & server administration toolset',
description=short_description,
long_description=long_description,
long_description_content_type='text/markdown',
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",