Skip to content

Commit

Permalink
PyPI package setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpallot authored and davepallot committed Feb 7, 2019
1 parent 4a9defa commit a6ddef7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include README.md
include setup.py
include SimpleWebSocketServer/SimpleExampleServer.py
include SimpleWebSocketServer/SimpleHTTPSServer.py
include SimpleWebSocketServer/SimpleWebSocketServer.py
include SimpleWebSocketServer/__init__.py
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

You can install SimpleWebSocketServer by running the following command...

`sudo pip install git+https://github.com/dpallot/simple-websocket-server.git`
`pip install SimpleWebSocketServer`

Or by downloading the repository and running `sudo python setup.py install`.
Installation via pip is suggested.
Expand Down
2 changes: 2 additions & 0 deletions SimpleWebSocketServer/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .SimpleWebSocketServer import *

name="SimpleWebSocketServer"
30 changes: 19 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
from distutils.core import setup

setup(
name='SimpleWebSocketServer',
version='0.1.0',
author='Dave',
packages=['SimpleWebSocketServer'],
url='https://github.com/dpallot/simple-websocket-server/',
description='A Simple Websocket Server written in Python',
long_description=open('README.md').read()
)
from distutils.core import setup

setup(
name='SimpleWebSocketServer',
version='0.1.1',
author='Dave Pallot',
author_email='[email protected]',
packages=['SimpleWebSocketServer'],
url='https://github.com/dpallot/simple-websocket-server/',
description='A Simple Websocket Server written in Python',
long_description_content_type='text/markdown',
long_description=open('README.md').read(),
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)

0 comments on commit a6ddef7

Please sign in to comment.