diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..404db61 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel", +] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/requeriments.txt b/requeriments.txt index 0c5e569..3c5e09a 100644 --- a/requeriments.txt +++ b/requeriments.txt @@ -1,2 +1,3 @@ habanero -bibtexparser \ No newline at end of file +bibtexparser +requests diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3c5e09a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +habanero +bibtexparser +requests diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..01f7b2c --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +setuptools.setup( + name="orcid2markdown", + version="0.0.1a", + author="Pedro B. C.", + author_email="pedro@pedrobcst.com", + description="A simple package to parse an ORCID works entry into a Markdown format for static website generators", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/pedrobcst/orcid2markdown", + project_urls={ + "Bug Tracker": "https://github.com/pedrobcst/orcid2markdown/issues", + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + package_dir={"": "src"}, + packages=setuptools.find_packages(where="src"), + python_requires=">=3.7", + install_requires=[ + "habanero", + "bibtexparser", + "requests", + ], +) \ No newline at end of file