Browse Source

Setup project

master
Jake Howard 2 years ago
commit
25ba13012d
Signed by: theorangeone GPG Key ID: 57AFB45680EDD477
  1. 127
      .gitignore
  2. 2
      dev-requirements.txt
  3. 0
      ipc_unix/__init__.py
  4. 22
      setup.py
  5. 5
      tests/test_basic.py

127
.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/

2
dev-requirements.txt

@ -0,0 +1,2 @@
black==18.9b0
nose2==0.8.0

0
ipc_unix/__init__.py

22
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"
)

5
tests/test_basic.py

@ -0,0 +1,5 @@
from unittest import TestCase
class BasicTestCase(TestCase):
def test_something_basic(self):
self.assertTrue(True)
Loading…
Cancel
Save