File tree Expand file tree Collapse file tree 8 files changed +16
-13
lines changed
Expand file tree Collapse file tree 8 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 66jobs :
77 test :
88 docker :
9- - image : circleci/python:3
9+ - image : circleci/python:3.7
1010 steps :
1111 - checkout
12+ - run :
13+ name : install dependencies
14+ command : |
15+ pip install -r requirements.txt
1216 - run :
1317 name : run tests
1418 command : |
4549 command : |
4650 tag=`git tag --points-at HEAD`
4751 if [ $tag ]; then
52+ echo Uploading
4853 python -m twine upload dist/*
4954 fi
5055
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Websocket Server
55
66A minimal Websockets Server in Python with no external dependencies.
77
8- * Python3.5 +
8+ * Python3.6 +
99 * Clean simple API
1010 * Multiple clients
1111 * No dependencies
@@ -39,7 +39,7 @@ Testing
3939
4040Run all tests
4141
42- tox
42+ pytest
4343
4444
4545API
Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ General flow
1212 4 . Merge development into master (` git merge --no-ff development ` )
1313 4 . Add corresponding version as a new tag (` git tag <new_version> ` ) e.g. git tag v0.3.0
1414 5 . Push everything (` git push --tags && git push ` )
15+
16+ -
Original file line number Diff line number Diff line change 11110.5.5
1212- Allow running run_forever threaded
1313- Fix shutting down of a server without connected clients
14+
15+ 0.5.6
16+ - Support from Python3.6+
Original file line number Diff line number Diff line change 11# Dev/test/deploy
2- tox >= 3.24.0
32IPython
43pytest
54websocket-client >= 1.1.1
Original file line number Diff line number Diff line change 1212 from distutils .command .install import install
1313
1414
15- VERSION = '0.5.5 '
15+ VERSION = '0.5.6 '
1616
1717
1818def get_tag_version ():
@@ -53,4 +53,5 @@ def run(self):
5353 cmdclass = {
5454 'verify' : VerifyVersionCommand ,
5555 },
56+ python_requires = ">=3.6" ,
5657)
Original file line number Diff line number Diff line change 22import sys , os
33if os .getcwd ().endswith ('tests' ):
44 sys .path .insert (0 , '..' )
5- elif os .getcwd (). endswith ( 'websocket-server ' ):
5+ elif os .path . exists ( 'websocket_server ' ):
66 sys .path .insert (0 , '.' )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments