-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
79 lines (72 loc) · 2.31 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# -*- coding: utf-8 -*-
"""
This module contains the tool of gp.recipe.node
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
try:
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
except:
return ''
version = '18.16.0.2.dev0'
long_description = (
read('README.rst')
+ '\n' +
'Detailed Documentation\n'
'**********************\n'
+ '\n' +
read('gp', 'recipe', 'node', 'README.rst')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('CONTRIBUTORS.txt')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.rst')
+ '\n' +
'Download\n'
'********\n')
entry_point = 'gp.recipe.node:Recipe'
entry_points = {"zc.buildout": ["default = %s" % entry_point]}
tests_require = ['zope.testing', 'zc.buildout']
setup(name='gp.recipe.node',
version=version,
description="ZC Buildout recipe for node.js",
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
'Framework :: Buildout',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Zope Public License',
'Development Status :: 6 - Mature',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords='buildout node.js node',
author='Gael Pasgrimaud',
author_email='[email protected]',
url='https://github.com/gawel/gp.recipe.node',
license='ZPL',
packages=find_packages(exclude=['ez_setup', 'update_node_version']),
namespace_packages=['gp', 'gp.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=['setuptools',
'zc.buildout',
'zc.recipe.egg',
'zc.recipe.cmmi',
],
tests_require=tests_require,
extras_require=dict(tests=tests_require),
test_suite='gp.recipe.node.tests.test_docs.test_suite',
entry_points=entry_points,
)