Browse Source

Updated setup.py to work with CI

bugfixes
gau1991 10 years ago
parent
commit
733381f86e
  1. 16
      setup.py

16
setup.py

@ -2,7 +2,17 @@
from setuptools import setup, find_packages
import sys
import os
import glob
conf = []
templates = []
for name in glob.glob('config/plugins.d/*.conf'):
conf.insert(1, name)
for name in glob.glob('ee/cli/templates/*.mustache'):
templates.insert(1, name)
setup(name='ee',
version='3.0',
@ -17,7 +27,8 @@ setup(name='ee',
author_email='sys@rtcamp.com',
url='http://rtcamp.com/easyengine',
license='GPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
packages=find_packages(exclude=['ez_setup', 'examples', 'tests',
'templates']),
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
@ -35,6 +46,9 @@ setup(name='ee',
'pymysql3',
'psutil',
],
data_files=[('/etc/ee', ['config/ee.conf']),
('/etc/ee/plugins.d', conf),
('/usr/lib/ee/templates', templates)],
setup_requires=[],
entry_points="""
[console_scripts]

Loading…
Cancel
Save