mdrs-client-python/setup.py

41 lines
1.1 KiB
Python
Raw Normal View History

2023-05-12 11:50:27 +09:00
import os
from typing import Final
from setuptools import find_packages, setup
2023-07-26 17:59:35 +09:00
from mdrsclient import __version__
2023-05-12 11:50:27 +09:00
2023-07-26 17:59:35 +09:00
BASE_DIR: Final[str] = os.path.realpath(os.path.dirname(__file__))
2023-05-12 11:50:27 +09:00
with open(os.path.join(BASE_DIR, "requirements.txt")) as f:
__requirements__ = f.read().splitlines()
with open(os.path.join(BASE_DIR, "README.md")) as f:
__readme__ = f.read()
setup(
name="mdrsclient",
version=__version__,
description="A MDRS command-line tool",
long_description=__readme__,
author="Neuroinformatics Unit, RIKEN CBS",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"OSI Approved :: MIT License",
"Topic :: Utilities",
],
packages=find_packages(),
include_package_data=True,
package_data={
2023-07-26 17:59:35 +09:00
"mdrsclient": ["VERSION"],
2023-05-12 11:50:27 +09:00
},
install_requires=__requirements__,
entry_points={"console_scripts": ["mdrs=mdrsclient.__main__:main"]},
)