-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
36 lines (31 loc) · 1.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import os
from setuptools import setup, find_packages
from pip.req import parse_requirements
from pip.download import PipSession
version = '0.1.2'
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
install_reqs = parse_requirements('requirements.txt', session=PipSession())
reqs = [str(ir.req) for ir in install_reqs]
setup(name='zendesk-helpcenter-cms',
version=version,
description=('Zendesk helpcenter CMS'),
long_description='\n\n'.join((read('README.md'), read('CHANGELOG'))),
classifiers=[
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python'],
author='Keepsafe',
author_email='[email protected]',
url='https://github.com/KeepSafe/zendesk-helpcenter-cms/',
license='Apache',
packages=find_packages('src', exclude=['test', 'test.fixtures']),
py_modules=['cms', 'filesystem', 'model', 'translate', 'utils', 'zendesk'],
package_dir = {'': 'src'},
namespace_packages=[],
install_requires = reqs,
entry_points={
'console_scripts': [
'zendesk-help-cms = cms:main']
},
include_package_data = False)