From 25ba13012ddbc8b5fa8e8bb9148f31ec9231a0c9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 7 Dec 2018 13:54:46 +0000 Subject: [PATCH] Setup project --- .gitignore | 127 +++++++++++++++++++++++++++++++++++++++++++ dev-requirements.txt | 2 + ipc_unix/__init__.py | 0 setup.py | 22 ++++++++ tests/test_basic.py | 5 ++ 5 files changed, 156 insertions(+) create mode 100644 .gitignore create mode 100644 dev-requirements.txt create mode 100644 ipc_unix/__init__.py create mode 100644 setup.py create mode 100644 tests/test_basic.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..477ef47 --- /dev/null +++ b/.gitignore @@ -0,0 +1,127 @@ + +# Created by https://www.gitignore.io/api/python +# Edit at https://www.gitignore.io/?templates=python + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# 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/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +### Python Patch ### +.venv/ + +# End of https://www.gitignore.io/api/python + +env/ diff --git a/dev-requirements.txt b/dev-requirements.txt new file mode 100644 index 0000000..455f115 --- /dev/null +++ b/dev-requirements.txt @@ -0,0 +1,2 @@ +black==18.9b0 +nose2==0.8.0 diff --git a/ipc_unix/__init__.py b/ipc_unix/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..1261c05 --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +from setuptools import setup +import unittest + +setup( + name="ipc-unix", + version="0.0.0", + url="https://github.com/realorangeone/ipc-unix", + license='MIT', + author="Jake Howard", + description="Inter-Process Communication using unix sockets", + packages=['ipc_unix'], + include_package_data=True, + zip_safe=False, + pathon_requires='>=3.4', + install_requires=[ + 'ujson' + ], + project_urls={ + 'GitHub: Issues': 'https://github.com/realorangeone/ipc-unix/issues' + }, + test_suite="nose2.collector.collector" +) diff --git a/tests/test_basic.py b/tests/test_basic.py new file mode 100644 index 0000000..714ac89 --- /dev/null +++ b/tests/test_basic.py @@ -0,0 +1,5 @@ +from unittest import TestCase + +class BasicTestCase(TestCase): + def test_something_basic(self): + self.assertTrue(True)