Skip to content

Commit

Permalink
properly setup a Python package
Browse files Browse the repository at this point in the history
  • Loading branch information
catern committed Apr 19, 2017
1 parent 0d156bb commit 0199e9f
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/supervise
/unlinkwait
*.pyc

# Setuptools distribution folder.
/python/dist/

# Python egg metadata, regenerated from source files by setuptools.
/python/*.egg-info
1 change: 1 addition & 0 deletions python/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.rst
4 changes: 4 additions & 0 deletions python/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
supervise_api
-------------

This provides a safer subprocess API for Python based on the `supervise` utility.
17 changes: 17 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from setuptools import setup

setup(name='supervise_api',
version='0.1.2',
description='An API for running processes safely and securely',
long_description=("This package uses the supervise utility, a separately-available C binary,"
" to provide a better process API for Linux."),
classifiers=[
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: POSIX :: Linux",
],
keywords='linux subprocess processes',
url='https://github.com/catern/supervise',
author='catern',
author_email='[email protected]',
license='LGPLv3+',
packages=['supervise_api'])
1 change: 1 addition & 0 deletions python/supervise_api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .supervise import *
File renamed without changes.
File renamed without changes.

0 comments on commit 0199e9f

Please sign in to comment.