monajm36
commited on
Create setup.py
Browse files
setup.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
| 4 |
+
long_description = fh.read()
|
| 5 |
+
|
| 6 |
+
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
| 7 |
+
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
| 8 |
+
|
| 9 |
+
setup(
|
| 10 |
+
name="nlp-ohca-classifier",
|
| 11 |
+
version="1.0.0",
|
| 12 |
+
author="Mona Moukaddem",
|
| 13 |
+
author_email="your.email@example.com",
|
| 14 |
+
description="BERT-based classifier for detecting Out-of-Hospital Cardiac Arrest (OHCA) cases in medical text",
|
| 15 |
+
long_description=long_description,
|
| 16 |
+
long_description_content_type="text/markdown",
|
| 17 |
+
url="https://github.com/monajm36/nlp-ohca-classifier",
|
| 18 |
+
packages=find_packages(),
|
| 19 |
+
classifiers=[
|
| 20 |
+
"Development Status :: 4 - Beta",
|
| 21 |
+
"Intended Audience :: Healthcare Industry",
|
| 22 |
+
"Intended Audience :: Science/Research",
|
| 23 |
+
"License :: OSI Approved :: MIT License",
|
| 24 |
+
"Operating System :: OS Independent",
|
| 25 |
+
"Programming Language :: Python :: 3",
|
| 26 |
+
"Programming Language :: Python :: 3.8",
|
| 27 |
+
"Programming Language :: Python :: 3.9",
|
| 28 |
+
"Programming Language :: Python :: 3.10",
|
| 29 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 30 |
+
"Topic :: Scientific/Engineering :: Medical Science Apps.",
|
| 31 |
+
],
|
| 32 |
+
python_requires=">=3.8",
|
| 33 |
+
install_requires=requirements,
|
| 34 |
+
extras_require={
|
| 35 |
+
"dev": ["pytest>=6.0", "black>=22.0", "flake8>=4.0"],
|
| 36 |
+
},
|
| 37 |
+
)
|