-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (22 loc) · 787 Bytes
/
setup.py
File metadata and controls
23 lines (22 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from setuptools import setup, find_packages
setup(
name='sampledb',
version='0.1.5',
packages=find_packages(),
package_data={'sampledb': ['*.xsh', 'data/*.json']},
scripts=['scripts/publish_samples', 'scripts/download_samples'],
description='database search and publish',
zip_safe=False,
)
# WARNING!!! Do not use setuptools 'console_scripts'
# It validates the depenendcies everytime the 'publish_samples' and
# 'download_samples' commands are run. This validation adds ~0.2 sec. to
# the startup time of xonsh - for every single xonsh run. So never ever
# write the following:
#
# 'console_scripts': [
# 'publish_samples=sampledb.reader:publish_samples',
# 'download_samples=sampledb.reader:download_samples',
# ],
#
# END WARNING