forked from psychoinformatics-de/datalad-debian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·30 lines (28 loc) · 1.15 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
#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
setup(
# basic project properties can be set arbitrarily
name="datalad_helloworld",
author="The DataLad Team and Contributors",
author_email="team@datalad.org",
version='0.1',
description="demo DataLad extension package",
packages=[pkg for pkg in find_packages('.') if pkg.startswith('datalad')],
# datalad command suite specs from here
install_requires=[
# in general datalad will be a requirement, unless the datalad extension
# aspect is an optional component of a larger project
# disable for now as we currently need a Git snapshot (requirements.txt)
#'datalad',
],
entry_points = {
# 'datalad.extensions' is THE entrypoint inspected by the datalad API builders
'datalad.extensions': [
# the label in front of '=' is the command suite label
# the entrypoint can point to any symbol of any name, as long it is
# valid datalad interface specification (see demo in this extensions
'helloworld=datalad_helloworld:command_suite',
]
},
)