-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
111 lines (107 loc) · 3.17 KB
/
setup.py
File metadata and controls
111 lines (107 loc) · 3.17 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
"""Setup script for Autonima package."""
from setuptools import setup, find_packages
from pathlib import Path
# Read the contents of README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
# Read version from package
def get_version():
"""Get version from package __init__.py."""
init_file = this_directory / "autonima" / "__init__.py"
if init_file.exists():
for line in init_file.read_text().split('\n'):
if line.startswith('__version__'):
return line.split('=')[1].strip().strip('"\'')
return "0.1.0"
setup(
name="autonima",
version=get_version(),
author="Autonima Development Team",
author_email="",
description="LLM-powered automated systematic review and meta-analysis",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/adelavega/autonima",
packages=find_packages(exclude=["tests*", "examples*"]),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
],
python_requires=">=3.8",
install_requires=[
"pyyaml>=6.0",
"pydantic>=2.0",
"click>=8.0",
"requests>=2.28.0",
"asyncio",
"pathlib",
"typing",
"datetime",
"biopython>=1.81",
"pandas>=2.0",
"matplotlib>=3.5",
"pubget>=0.0.8",
"beautifulsoup4>=4.9.0",
"lxml>=4.6.0"
],
extras_require={
"dev": [
"pytest>=7.0",
"pytest-asyncio>=0.21.0",
"black>=22.0",
"flake8>=5.0",
"mypy>=1.0",
"pre-commit>=3.0",
],
"llm": [
"openai>=1.0"
],
"readability": [
"readabilipy>=0.2.0"
],
"meta": [
"nimare>=0.1.0"
],
"docs": [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"mkdocs-click>=0.8",
"pymdown-extensions>=10.0",
]
},
entry_points={
"console_scripts": [
"autonima=autonima.cli:main",
],
},
include_package_data=True,
package_data={
"autonima": ["py.typed"],
"autonima.templates": ["*.yml"],
},
keywords=[
"systematic-review",
"meta-analysis",
"neuroimaging",
"pubmed",
"llm",
"ai",
"literature-search",
"prisma",
"evidence-synthesis"
],
project_urls={
"Documentation": "https://adelavega.github.io/autonima/",
"Source": "https://github.com/adelavega/autonima",
"Tracker": "https://github.com/adelavega/autonima/issues",
},
)