-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
44 lines (39 loc) · 1.24 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
from setuptools import setup, find_packages
import os
# Extract central version information
with open(os.path.join(os.path.dirname(__file__), "VERSION")) as version_file:
version = version_file.read().strip()
with open('requirements.txt') as f:
requires = f.read().splitlines()
with open('README.md') as f:
long_description = f.read()
setup(
name="DigLabTools",
version=version,
packages=find_packages(),
package_data={
# If any package contains *.json or *.csv files, include them:
"": ["*.json", '*.csv', '*.zip'],
},
data_files=[('DigLabTools', ['VERSION', 'README.md', 'requirements.txt'])],
author="Julia Sprenger, Jeremy Garcia, Killian Rochet",
description="Tools to interact with the DigLab metadata collection standard",
long_description_content_type="text/markdown",
long_description=long_description,
license='MIT',
install_requires=requires,
include_package_data=True,
python_requires='>=3.8',
extras_require={
'test': ['pytest']
},
entry_points={
"console_scripts": [
"RedCapBridge=redcap_bridge.cli:main",
"ElabBridge=elab_bridge.cli:main"
],
}
)