-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 994 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 994 Bytes
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
from setuptools import setup, find_packages
import os
root_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(root_dir, "VERSION")) as version_file:
version = version_file.read().strip()
with open(os.path.join(root_dir, 'requirements.txt')) as f:
requires = f.read().splitlines()
with open(os.path.join(root_dir, 'README.md')) as f:
long_description = f.read()
setup(
name="elabforms",
version=version,
packages=find_packages(where="."),
author="Fatai Idrissou, Sylvain Takerkart",
description="A set of tools to create and manage standardized forms for eLabFTW",
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT',
install_requires=requires,
include_package_data=True,
python_requires='>=3.8',
extras_require={
'test': ['pytest', 'flake8'],
},
entry_points={
"console_scripts": [
"eform=elabforms.cli:cli"
],
},
)