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

Loading…
Cancel
Save