Make into package for installation
This commit is contained in:
parent
c716a8902f
commit
3eb2ed77a4
2 changed files with 32 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ sample_data/*
|
|||
local-test.py
|
||||
.DS_Store
|
||||
*.pyc
|
||||
**/*egg-info
|
||||
|
|
31
setup.py
Normal file
31
setup.py
Normal 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,
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue