-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (55 loc) · 2.08 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
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Mon 13 Aug 2012 09:49:00 CEST
from setuptools import setup, find_packages
# Define package version
version = open("version.txt").read().rstrip()
def load_requirements(f):
retval = [str(k.strip()) for k in open(f, 'rt')]
return [k for k in retval if k and k[0] not in ('#', '-')]
setup(
name='bob.buildout',
version=version,
description="A collection of zc.buildout recipes for Bob packages",
keywords=['buildout', 'sphinx', 'nose', 'recipe', 'eggs', 'bob'],
url='https://gitlab.idiap.ch/bob/bob.buildout',
license='BSD',
author='Andre Anjos',
author_email='andre.anjos@idiap.ch',
long_description=open('README.rst').read(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=load_requirements('requirements.txt'),
entry_points = {
'zc.buildout': [
'develop = bob.buildout.develop:Recipe',
'scripts = bob.buildout.scripts:Recipe',
'python = bob.buildout.scripts:PythonInterpreter',
'gdb-python = bob.buildout.scripts:GdbPythonInterpreter',
'ipython = bob.buildout.scripts:IPythonInterpreter',
'pylint = bob.buildout.scripts:PyLint',
'nose = bob.buildout.scripts:NoseTests',
'coverage = bob.buildout.scripts:Coverage',
'sphinx = bob.buildout.scripts:Sphinx',
'egg.scripts = bob.buildout.scripts:UserScripts',
],
'zc.buildout.extension': [
'extension = bob.buildout.extension:extension',
],
},
classifiers=[
'Framework :: Bob',
'Development Status :: 5 - Production/Stable',
'Environment :: Plugins',
'Framework :: Buildout :: Recipe',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)