-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (27 loc) · 867 Bytes
/
setup.py
File metadata and controls
31 lines (27 loc) · 867 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
import setuptools
from distutils.util import convert_path
with open("README.md", "r") as fh:
long_description = fh.read()
metadata = {}
ver_path = convert_path('redcapy/metadata.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), metadata)
setuptools.setup(
name="redcapy",
version=metadata['__version__'],
author=metadata['__author__'],
author_email=metadata['__email__'],
description="Python package to access REDCAP API",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/unaisaralegui/redcapy",
packages=setuptools.find_packages(),
install_requires=[
'requests',
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
)