Make into package for installation

This commit is contained in:
Stephen Anyango 2020-09-18 21:12:13 +01:00
parent c716a8902f
commit 3eb2ed77a4
2 changed files with 32 additions and 0 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ sample_data/*
local-test.py local-test.py
.DS_Store .DS_Store
*.pyc *.pyc
**/*egg-info

31
setup.py Normal file
View file

@ -0,0 +1,31 @@
from setuptools import setup
def readme():
with open("README.md") as f:
return f.read()
setup(
name="funpdbe_validator",
version="0.1.0",
description="Validate JSON by FunPDBe Schema",
long_description=readme(),
classifiers=[
"Development Status :: 3 - Beta",
"License :: OSI Approved :: Apache 2 License",
"Programming Language :: Python :: 3",
],
keywords="json validator",
url="https://gitlab.ebi.ac.uk/pdbe-kb/funpdbe/funpdbe-validator",
author="Mihaly Varadi",
author_email="mvaradi@ebi.ac.uk",
license="Apache 2",
packages=["validator"],
install_requires=["jsonschema", "requests"],
test_suite="tests",
tests_require=["pytest", "pytest-cov"],
include_package_data=True,
zip_safe=True,
)