convert newline code to 'LF`

This commit is contained in:
Yoshihiro OKUMURA 2023-05-12 11:50:27 +09:00
parent 5a5beb5645
commit 37a4cedc4d
Signed by: orrisroot
GPG Key ID: 470AA444C92904B2
2 changed files with 51 additions and 51 deletions

View File

@ -1,5 +1,5 @@
requests requests
python-dotenv python-dotenv
pydantic pydantic
PyJWT PyJWT
validators validators

View File

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