PyMISP/setup.py

65 lines
2.3 KiB
Python
Raw Normal View History

2017-07-21 18:47:10 +02:00
#!/usr/bin/env python
2014-04-16 15:14:58 +02:00
# -*- coding: utf-8 -*-
from os import path
2021-06-21 20:20:41 +02:00
from setuptools import setup # type: ignore
2015-09-18 12:03:56 +02:00
import pymisp
this_directory = path.abspath(path.dirname(__file__))
2018-09-18 09:02:43 +02:00
with open(path.join(this_directory, 'README.md'), 'r') as f:
long_description = f.read()
2014-04-16 15:14:58 +02:00
setup(
name='pymisp',
2015-09-18 12:03:56 +02:00
version=pymisp.__version__,
2014-04-16 15:14:58 +02:00
author='Raphaël Vinot',
author_email='raphael.vinot@circl.lu',
maintainer='Raphaël Vinot',
url='https://github.com/MISP/PyMISP',
project_urls={
'Documentation': 'http://pymisp.readthedocs.io',
'Source': 'https://github.com/MISP/PyMISP',
'Tracker': 'https://github.com/MISP/PyMISP/issues',
},
2014-04-16 15:14:58 +02:00
description='Python API for MISP.',
long_description=long_description,
long_description_content_type='text/markdown',
2016-11-04 14:32:29 +01:00
packages=['pymisp', 'pymisp.tools'],
2014-04-16 15:14:58 +02:00
classifiers=[
'License :: OSI Approved :: BSD License',
2014-04-16 15:14:58 +02:00
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
2016-08-02 15:17:42 +02:00
'Operating System :: POSIX :: Linux',
2014-04-16 15:14:58 +02:00
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
2016-08-02 15:17:42 +02:00
'Intended Audience :: Information Technology',
2019-12-18 14:45:14 +01:00
'Programming Language :: Python :: 3.6',
2014-04-16 15:14:58 +02:00
'Topic :: Security',
'Topic :: Internet',
],
install_requires=['requests',
'python-dateutil',
'jsonschema',
'deprecated'],
extras_require={'fileobjects': ['python-magic', 'pydeep2', 'lief>=0.11.0'],
'neo': ['py2neo'],
'openioc': ['beautifulsoup4'],
2019-02-07 14:57:54 +01:00
'virustotal': ['validators'],
'docs': ['sphinx-autodoc-typehints', 'recommonmark'],
'pdfexport': ['reportlab']},
2017-09-20 11:15:13 +02:00
tests_require=[
'jsonschema',
'python-magic',
2019-02-06 11:53:37 +01:00
'requests-mock'
2017-09-20 11:15:13 +02:00
],
test_suite="tests.test_mispevent",
include_package_data=True,
2017-10-24 15:07:33 +02:00
package_data={'pymisp': ['data/*.json',
2017-10-23 20:08:32 +02:00
'data/misp-objects/schema_objects.json',
'data/misp-objects/schema_relationships.json',
'data/misp-objects/objects/*/definition.json',
'data/misp-objects/relationships/definition.json',
'tools/pdf_fonts/Noto_TTF/*']},
)