|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""Installation script for B3clf. |
|
|
|
Directly calling this script is only needed by B3clf developers in special |
|
circumstances. End users are recommended to install B3clf with pip. |
|
""" |
|
|
|
import os |
|
|
|
from setuptools import find_packages, setup |
|
|
|
|
|
def get_version_info(): |
|
"""Read __version__ and DEV_CLASSIFIER from version.py, using exec, not import.""" |
|
fn_version = os.path.join("b3clf", "version.py") |
|
if os.path.isfile(fn_version): |
|
myglobals = {} |
|
with open(fn_version, "r") as f: |
|
exec(f.read(), myglobals) |
|
return myglobals["__version__"] |
|
return "0.0.0.post0" |
|
|
|
|
|
def get_readme(): |
|
"""Load README.md.""" |
|
with open("README.md") as fhandle: |
|
return fhandle.read() |
|
|
|
|
|
VERSION = get_version_info() |
|
|
|
setup( |
|
name="b3clf", |
|
version=VERSION, |
|
description="Models for blood-brain barrier classifications with resampling strategies.", |
|
long_description=get_readme(), |
|
author="Ayers Lab", |
|
author_email="[email protected]", |
|
url="https://github.com/theochem/B3clf", |
|
package_dir={"B3clf": "b3clf"}, |
|
|
|
packages=find_packages(), |
|
include_package_data=True, |
|
entry_points={ |
|
"console_scripts": ["b3clf = b3clf.__main__:main"] |
|
}, |
|
classifiers=[ |
|
"Environment :: Console", |
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", |
|
|
|
"Operating System :: POSIX :: Linux", |
|
"Programming Language :: Python :: 3", |
|
"Topic :: Scientific/Engineering :: Chemistry", |
|
"Topic :: Science/Engineering :: Molecular Science", |
|
"Topic :: Scientific/Engineering :: Bio-Informatics", |
|
"Intended Audience :: Science/Research", |
|
], |
|
python_requires=">=3.7.0", |
|
setup_requires=["numpy>=1.21.4", "scipy>=1.7.2"], |
|
install_requires=["numpy>=1.21.4", "scipy>=1.7.2", "scikit-learn==1.0.1"], |
|
) |
|
|