2017-07-21 18:47:10 +02:00
|
|
|
#!/usr/bin/env python
|
2014-04-16 15:14:58 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2018-09-18 08:39:50 +02:00
|
|
|
from os import path
|
|
|
|
|
2014-04-16 15:14:58 +02:00
|
|
|
from setuptools import setup
|
2018-09-18 08:39:50 +02:00
|
|
|
|
2015-09-18 12:03:56 +02:00
|
|
|
import pymisp
|
|
|
|
|
2018-09-18 08:39:50 +02:00
|
|
|
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:
|
2018-09-18 08:39:50 +02:00
|
|
|
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',
|
2018-09-18 08:39:50 +02:00
|
|
|
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.',
|
2018-09-18 08:39:50 +02:00
|
|
|
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=[
|
2015-08-19 09:44:43 +02:00
|
|
|
'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',
|
2015-08-05 17:21:08 +02:00
|
|
|
],
|
2019-12-18 14:45:14 +01:00
|
|
|
install_requires=['six', 'requests', 'python-dateutil', 'jsonschema', 'deprecated'],
|
|
|
|
extras_require={'fileobjects': ['lief>=0.10.1', 'python-magic', 'pydeep'],
|
2017-10-20 10:21:10 +02:00
|
|
|
'neo': ['py2neo'],
|
2017-10-25 21:00:00 +02:00
|
|
|
'openioc': ['beautifulsoup4'],
|
2019-02-07 14:57:54 +01:00
|
|
|
'virustotal': ['validators'],
|
2019-07-18 14:05:08 +02:00
|
|
|
'docs': ['sphinx-autodoc-typehints', 'recommonmark'],
|
2019-02-28 06:16:49 +01:00
|
|
|
'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
|
|
|
],
|
2019-07-22 09:42:11 +02:00
|
|
|
test_suite="tests.test_mispevent",
|
2016-09-27 19:47:22 +02:00
|
|
|
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',
|
2017-08-23 15:36:13 +02:00
|
|
|
'data/misp-objects/schema_relationships.json',
|
|
|
|
'data/misp-objects/objects/*/definition.json',
|
2019-03-05 01:06:38 +01:00
|
|
|
'data/misp-objects/relationships/definition.json',
|
|
|
|
'tools/pdf_fonts/Noto_TTF/*']},
|
2015-08-05 17:21:08 +02:00
|
|
|
)
|