chg: Restore setup.py

pull/5/head
Raphaël Vinot 2020-02-19 10:07:46 +01:00
parent 2399eff60f
commit 6facf5104e
3 changed files with 39 additions and 5 deletions

10
poetry.lock generated
View File

@ -51,7 +51,7 @@ format = ["idna", "jsonpointer (>1.13)", "rfc3987", "strict-rfc3339", "webcolors
format_nongpl = ["idna", "jsonpointer (>1.13)", "webcolors", "rfc3986-validator (>0.1.0)", "rfc3339-validator"] format_nongpl = ["idna", "jsonpointer (>1.13)", "webcolors", "rfc3986-validator (>0.1.0)", "rfc3339-validator"]
[[package]] [[package]]
category = "dev" category = "main"
description = "Optional static typing for Python" description = "Optional static typing for Python"
name = "mypy" name = "mypy"
optional = false optional = false
@ -67,7 +67,7 @@ typing-extensions = ">=3.7.4"
dmypy = ["psutil (>=4.0)"] dmypy = ["psutil (>=4.0)"]
[[package]] [[package]]
category = "dev" category = "main"
description = "Experimental type system extensions for programs checked with the mypy typechecker." description = "Experimental type system extensions for programs checked with the mypy typechecker."
name = "mypy-extensions" name = "mypy-extensions"
optional = false optional = false
@ -102,7 +102,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
version = "1.14.0" version = "1.14.0"
[[package]] [[package]]
category = "dev" category = "main"
description = "a fork of Python 2 and 3 ast modules with type comment support" description = "a fork of Python 2 and 3 ast modules with type comment support"
name = "typed-ast" name = "typed-ast"
optional = false optional = false
@ -110,7 +110,7 @@ python-versions = "*"
version = "1.4.1" version = "1.4.1"
[[package]] [[package]]
category = "dev" category = "main"
description = "Backported and Experimental Type Hints for Python 3.5+" description = "Backported and Experimental Type Hints for Python 3.5+"
name = "typing-extensions" name = "typing-extensions"
optional = false optional = false
@ -131,7 +131,7 @@ docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
testing = ["jaraco.itertools", "func-timeout"] testing = ["jaraco.itertools", "func-timeout"]
[metadata] [metadata]
content-hash = "ef4e5039d063d0403020f47105c54aed18448fa66964e04c6b199ac2892b1260" content-hash = "f54dc98e227f5457c031ab19e76fcf41eb2a2435fa79d46ca7dbb4e20b3fe59b"
python-versions = "^3.6" python-versions = "^3.6"
[metadata.files] [metadata.files]

View File

@ -31,6 +31,7 @@ exclude = ["pymispgalaxies/data/misp-galaxy/tools/**/*"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.6" python = "^3.6"
jsonschema = "^3.2.0" jsonschema = "^3.2.0"
mypy = "^0.761"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
nose = "^1.3.7" nose = "^1.3.7"

33
setup.py Normal file
View File

@ -0,0 +1,33 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='pymispgalaxies',
version='0.1',
author='Raphaël Vinot',
author_email='raphael.vinot@circl.lu',
maintainer='Raphaël Vinot',
url='https://github.com/MISP/PyMISPGalaxies',
description='Python API for the MISP Galaxies.',
packages=['pymispgalaxies'],
classifiers=[
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: Internet',
],
tests_requires=['nose'],
test_suite='nose.collector',
package_data={'pymispgalaxies': ['data/misp-galaxy/schema_*.json',
'data/misp-galaxy/clusters/*.json',
'data/misp-galaxy/galaxies/*.json',
'data/misp-galaxy/misp/*.json',
'data/misp-galaxy/vocabularies/common/*.json',
'data/misp-galaxy/vocabularies/threat-actor/*.json']}
)