123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import os
- import setuptools
- with open('README.rst', 'r') as readme:
- LONG_DESCRIPTION = readme.read()
- setuptools.setup(
- name='pubmed-bibtex',
- use_scm_version={
- 'write_to': os.path.join('pubmed_bibtex', 'version.py'),
- # `version` triggers pylint C0103
- 'write_to_template': "__version__ = '{version}'\n",
- },
- 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+',
- keywords=[
- '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+)',
- 'Programming Language :: Python :: 3.5',
- 'Programming Language :: Python :: 3.6',
- 'Programming Language :: Python :: 3.7',
- 'Topic :: Scientific/Engineering :: Medical Science Apps.',
- 'Topic :: Utilities',
- ],
- packages=setuptools.find_packages(),
- entry_points={
- 'console_scripts': [
- 'pubmed-bibtex = pubmed_bibtex.__main__:main',
- ],
- },
- python_requires='>=3.5',
- install_requires=[
- 'requests>=2,<3',
- ],
- setup_requires=[
- 'setuptools_scm',
- ],
- tests_require=[
- 'pylint>=2.3.0,<3',
- 'pytest<5',
- 'pytest-cov<3,>=2',
- ],
- )
|