diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e50675e --- /dev/null +++ b/.gitignore @@ -0,0 +1,59 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..7077d7c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +pytest +tox + +-e . diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f72753b --- /dev/null +++ b/setup.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +from setuptools import setup, find_packages + +setup( + name='stix2', + description="Produce and consume STIX 2 JSON content", + version='0.0.1', + packages=find_packages(), + keywords="stix stix2 json cti cyber threat intelligence", +) diff --git a/stix2/__init__.py b/stix2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/stix2/test/__init__.py b/stix2/test/__init__.py new file mode 100644 index 0000000..e69de29