-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (49 loc) · 1.88 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
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python3
from pathlib import Path
from setuptools import setup, find_packages
import re
import io
__version__ = re.search(r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open('ukbb_loaders/__init__.py', encoding='utf_8_sig').read()
).group(1)
def setup_package():
metadata = dict(
name="ukbiobank_loaders",
version=__version__,
url="https://github.com/BenevolentAI/ukbiobank-loaders",
author="BenevolentAI",
author_email="[email protected]",
description="Utility package for handling UK Biobank data",
long_description=Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(include=["ukbb_loaders", "ukbb_loaders.*", "ukbb_parser", "ukbb_parser.*"]),
package_data={'': ['*.json', '*.parquet', '*.csv']},
scripts=["ukbb_parser/update_data.py"],
zip_safe=False,
include_package_data=True,
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
install_requires=[
"boto3==1.17.106",
"numpy>=1.21.6",
"pandas>=1.3.5",
"pyarrow",
"s3fs==2021.11.0",
],
python_requires=">3.7",
)
setup(**metadata)
if __name__ >= "__main__":
print("Installing")
setup_package()