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',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3',
|
2014-04-16 15:14:58 +02:00
|
|
|
'Topic :: Security',
|
|
|
|
'Topic :: Internet',
|
2015-08-05 17:21:08 +02:00
|
|
|
],
|
2019-01-25 10:35:53 +01:00
|
|
|
install_requires=['six', 'requests', 'python-dateutil', 'jsonschema',
|
2019-02-06 11:53:37 +01:00
|
|
|
'python-dateutil', 'enum34;python_version<"3.4"',
|
2019-02-22 10:18:44 +01:00
|
|
|
'functools32;python_version<"3.0"', 'reportlab'],
|
2017-10-20 10:21:10 +02:00
|
|
|
extras_require={'fileobjects': ['lief>=0.8', 'python-magic'],
|
|
|
|
'neo': ['py2neo'],
|
2017-10-25 21:00:00 +02:00
|
|
|
'openioc': ['beautifulsoup4'],
|
2019-02-07 14:57:54 +01:00
|
|
|
'virustotal': ['validators'],
|
|
|
|
'docs': ['sphinx-autodoc-typehints']},
|
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
|
|
|
],
|
2018-09-17 22:59:25 +02:00
|
|
|
test_suite="tests.test_offline",
|
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',
|
|
|
|
'data/misp-objects/relationships/definition.json']},
|
2015-08-05 17:21:08 +02:00
|
|
|
)
|