Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wspy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
wspy
Commits
bf559a71
Commit
bf559a71
authored
Dec 21, 2014
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup script for Pypi now converts README to RST
parent
7fe869f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
setup.py
setup.py
+10
-1
No files found.
setup.py
View file @
bf559a71
#!/usr/bin/env python
#!/usr/bin/env python
from
distutils.core
import
setup
from
distutils.core
import
setup
try
:
from
pypandoc
import
convert
read_md
=
lambda
f
:
convert
(
f
,
'rst'
)
except
ImportError
:
print
'warning: module pypandoc not found, cannot convert Markdown to RST'
read_md
=
lambda
f
:
open
(
f
,
'r'
).
read
()
setup
(
setup
(
name
=
'wspy'
,
name
=
'wspy'
,
version
=
'0.91'
,
version
=
'0.9
.
1'
,
description
=
'A standalone implementation of websockets (RFC 6455).'
,
description
=
'A standalone implementation of websockets (RFC 6455).'
,
long_description
=
read_md
(
'README.md'
),
author
=
'Taddeus Kroes'
,
author
=
'Taddeus Kroes'
,
author_email
=
'taddeus@kompiler.org'
,
author_email
=
'taddeus@kompiler.org'
,
url
=
'https://github.com/taddeus/wspy'
,
url
=
'https://github.com/taddeus/wspy'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment