|
a |
|
b/setup.py |
|
|
1 |
############################################################################################ |
|
|
2 |
#Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
3 |
#you may not use this file except in compliance with the License. |
|
|
4 |
#You may obtain a copy of the License at |
|
|
5 |
# |
|
|
6 |
# https://www.apache.org/licenses/LICENSE-2.0 |
|
|
7 |
# |
|
|
8 |
#Unless required by applicable law or agreed to in writing, software |
|
|
9 |
#distributed under the License is distributed on an "AS IS" BASIS, |
|
|
10 |
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
11 |
#See the License for the specific language governing permissions and |
|
|
12 |
#limitations under the License. |
|
|
13 |
############################################################################################ |
|
|
14 |
from setuptools import setup, find_packages |
|
|
15 |
|
|
|
16 |
def readme(): |
|
|
17 |
with open("README.md") as f: |
|
|
18 |
README = f.read() |
|
|
19 |
return README |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
#with open("requirements.txt") as f: |
|
|
23 |
# required = f.read().splitlines() |
|
|
24 |
|
|
|
25 |
#with open("requirements-optional.txt") as f: |
|
|
26 |
# optional_required = f.read().splitlines() |
|
|
27 |
|
|
|
28 |
base_packages = ['transformers', 'nltk', 'pandas'] |
|
|
29 |
|
|
|
30 |
setup( |
|
|
31 |
name="Bio_Epidemiology_NER", |
|
|
32 |
version="0.0.5", |
|
|
33 |
description="Recognize bio-medical entities from a text corpus", |
|
|
34 |
long_description=readme(), |
|
|
35 |
long_description_content_type="text/markdown", |
|
|
36 |
url="https://github.com/dreji18/biomedicalNER", |
|
|
37 |
author="Deepak John Reji, Shaina Raza", |
|
|
38 |
author_email="deepakjohn1994@gmail.com", |
|
|
39 |
license="MIT", |
|
|
40 |
classifiers=[ |
|
|
41 |
"License :: OSI Approved :: MIT License", |
|
|
42 |
"Programming Language :: Python :: 3.6", |
|
|
43 |
"Programming Language :: Python :: 3.7", |
|
|
44 |
"Programming Language :: Python :: 3.8", |
|
|
45 |
"Programming Language :: Python :: 3.9", |
|
|
46 |
], |
|
|
47 |
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), |
|
|
48 |
include_package_data=True, |
|
|
49 |
license_files=("LICENSE",), |
|
|
50 |
install_requires=base_packages, |
|
|
51 |
#extras_require={"full": optional_required,}, |
|
|
52 |
) |