PyMISP/setup.py

64 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
2014-04-16 15:14:58 +02:00
from setuptools import setup
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',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
2014-04-16 15:14:58 +02:00
'Topic :: Security',
'Topic :: Internet',
],
install_requires=['six', 'requests', 'python-dateutil', 'jsonschema',
2019-02-06 11:53:37 +01:00
'python-dateutil', 'enum34;python_version<"3.4"',
'functools32;python_version<"3.0"'],
extras_require={'fileobjects': ['lief>=0.8', 'python-magic'],
'neo': ['py2neo'],
'openioc': ['beautifulsoup4'],
2019-02-07 14:57:54 +01:00
'virustotal': ['validators'],
'docs': ['sphinx-autodoc-typehints'],
'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
],
2018-09-17 22:59:25 +02:00
test_suite="tests.test_offline",
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']},
)