|
@@ -2,64 +2,62 @@ import os
|
|
|
|
|
|
import setuptools
|
|
|
|
|
|
-with open('README.rst', 'r') as readme:
|
|
|
+with open("README.rst", "r") as readme:
|
|
|
LONG_DESCRIPTION = readme.read()
|
|
|
|
|
|
setuptools.setup(
|
|
|
- name='pubmed-bibtex',
|
|
|
+ name="pubmed-bibtex",
|
|
|
use_scm_version={
|
|
|
- 'write_to': os.path.join('pubmed_bibtex', 'version.py'),
|
|
|
+ "write_to": os.path.join("pubmed_bibtex", "version.py"),
|
|
|
# `version` triggers pylint C0103
|
|
|
- 'write_to_template': "__version__ = '{version}'\n",
|
|
|
+ "write_to_template": "__version__ = '{version}'\n",
|
|
|
},
|
|
|
- description='Generate BibTeX Entries for PubMed Publications',
|
|
|
+ description="Generate BibTeX Entries for PubMed Publications",
|
|
|
long_description=LONG_DESCRIPTION,
|
|
|
- author='Fabian Peter Hammerle',
|
|
|
- author_email='fabian@hammerle.me',
|
|
|
- url='https://github.com/fphammerle/pubmed-bibtex',
|
|
|
- license='GPLv3+',
|
|
|
+ author="Fabian Peter Hammerle",
|
|
|
+ author_email="fabian@hammerle.me",
|
|
|
+ url="https://github.com/fphammerle/pubmed-bibtex",
|
|
|
+ license="GPLv3+",
|
|
|
keywords=[
|
|
|
- 'article',
|
|
|
- 'bibtex',
|
|
|
- 'citation',
|
|
|
- 'journal',
|
|
|
- 'latex',
|
|
|
- 'publication',
|
|
|
- 'pubmed',
|
|
|
- 'reference',
|
|
|
- 'research',
|
|
|
- 'tex',
|
|
|
- 'texmed',
|
|
|
+ "article",
|
|
|
+ "bibtex",
|
|
|
+ "citation",
|
|
|
+ "journal",
|
|
|
+ "latex",
|
|
|
+ "publication",
|
|
|
+ "pubmed",
|
|
|
+ "reference",
|
|
|
+ "research",
|
|
|
+ "tex",
|
|
|
+ "texmed",
|
|
|
],
|
|
|
classifiers=[
|
|
|
- 'Development Status :: 4 - Beta',
|
|
|
- 'Intended Audience :: Healthcare Industry',
|
|
|
- 'Intended Audience :: Science/Research',
|
|
|
- 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
|
+ "Development Status :: 4 - Beta",
|
|
|
+ "Intended Audience :: Healthcare Industry",
|
|
|
+ "Intended Audience :: Science/Research",
|
|
|
+ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
|
# .github/workflows/python.yml
|
|
|
- 'Programming Language :: Python :: 3.6',
|
|
|
- 'Programming Language :: Python :: 3.7',
|
|
|
- 'Programming Language :: Python :: 3.8',
|
|
|
- 'Topic :: Scientific/Engineering :: Medical Science Apps.',
|
|
|
- 'Topic :: Utilities',
|
|
|
+ "Programming Language :: Python :: 3.6",
|
|
|
+ "Programming Language :: Python :: 3.7",
|
|
|
+ "Programming Language :: Python :: 3.8",
|
|
|
+ "Topic :: Scientific/Engineering :: Medical Science Apps.",
|
|
|
+ "Topic :: Utilities",
|
|
|
],
|
|
|
packages=setuptools.find_packages(),
|
|
|
entry_points={
|
|
|
- 'console_scripts': [
|
|
|
- 'pubmed-bibtex = pubmed_bibtex.__main__:main',
|
|
|
+ "console_scripts": [
|
|
|
+ "pubmed-bibtex = pubmed_bibtex.__main__:main",
|
|
|
],
|
|
|
},
|
|
|
# >=3.6 for variable type hints
|
|
|
python_requires=">=3.6",
|
|
|
install_requires=[
|
|
|
- 'requests>=2,<3',
|
|
|
- ],
|
|
|
- setup_requires=[
|
|
|
- 'setuptools_scm',
|
|
|
+ "requests>=2,<3",
|
|
|
],
|
|
|
+ setup_requires=["setuptools_scm"],
|
|
|
tests_require=[
|
|
|
- 'pylint>=2.3.0,<3',
|
|
|
- 'pytest<5',
|
|
|
- 'pytest-cov<3,>=2',
|
|
|
+ "pylint>=2.3.0,<3",
|
|
|
+ "pytest<5",
|
|
|
+ "pytest-cov<3,>=2",
|
|
|
],
|
|
|
)
|