Skip to content

Commit

Permalink
Use pyproject.toml instead of setup.py + requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-E-Rose committed Aug 7, 2024
1 parent 327403f commit fdb3169
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 66 deletions.
65 changes: 65 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[build-system]
requires = ["setuptools>=69.1", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "pubmed_parser"
description = "A python parser for Pubmed Open-Access Subset and MEDLINE XML repository"
readme = "README.md"
license = {text = "MIT (c) 2015 - 2024 Titipat Achakulvisut, Daniel E. Acuna"}
authors = [
{name = "Titipat Achakulvisut", email = "my.titipat@gmail.com"}
]
maintainers = [
{name = "Titipat Achakulvisut", email = "my.titipat@gmail.com"},
{name = "Michael E. Rose", email = "Michael.Ernst.Rose@gmail.com"}
]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Natural Language :: English",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
keywords = [
"Python",
"MEDLINE",
"PubMed",
"Biomedical corpus",
"Natural Language Processing"
]
dependencies = [
"lxml",
"unidecode",
"requests",
"six",
"numpy"
]
dynamic = ["version"]

[project.urls]
homepage = "https://github.com/titipata/pubmed_parser"
download = "https://github.com/titipata/pubmed_parser.git"
documentation = "http://titipata.github.io/pubmed_parser"
bug_tracker = "https://github.com/titipata/pubmed_parser/issues"

[tool.setuptools.package-data]
"pubmed_parser.data" = ["*.xml.gz", "*.nxml", "*.txt"]

[tool.setuptools.packages.find]
where = ["pubmed_parser"]

[tool.setuptools_scm]
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

59 changes: 0 additions & 59 deletions setup.py

This file was deleted.

0 comments on commit fdb3169

Please sign in to comment.