Skip to content

Commit

Permalink
New distribution 0.3.1
Browse files Browse the repository at this point in the history
 - fixed bugs when killing spawned process
 - formatted code
 - update README
 - revised setup.py
  • Loading branch information
JarryShaw committed Jan 4, 2019
1 parent 1a47e98 commit e40a2e6
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 244 deletions.
29 changes: 26 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,34 @@
{
"python.pythonPath": "/Users/jarryshaw/.local/share/virtualenvs/ptyng-pFkoxdfX/bin/python",
"python.pythonPath": "/Users/jarryshaw/.virtualenvs/ptyng-pFkoxdfX/bin/python",
"cSpell.words": [
"FILENO",
"PQRST",
"RDWR",
"SIGKILL",
"TCSAFLUSH",
"chld",
"emsp",
"execve",
"execvpe",
"fcntl",
"forkpty",
"ioctl",
"iszombie",
"ldterm",
"openpty",
"ptyng"
"pgrep",
"ppid",
"pqrstuvwxyz",
"pqrstuvwxyzPQRST",
"ptem",
"ptyng",
"rfds",
"tcgetattr",
"tcsetattr",
"ttyname",
"waitpid",
"writen"
],
"restructuredtext.confPath": "",
"python.linting.pylintEnabled": true
}
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Version 0.3.1

> Release date: 2019-01-04
  Fixed bugs when killing spawned process.

## Version 0.3.0.post2

> Release date: 2018-12-12
Expand Down
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ name = "pypi"

[packages]
psutil = "*"
subprocess32 = ">=3.5.3"
backports-shutil-which = ">=3.5.2"

[dev-packages]
subprocess32 = ">=3.5.3"
ipython = "*"
rope = "*"
"autopep8" = "*"
Expand Down
61 changes: 34 additions & 27 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ Refer to the
`standard pty <http://docs.python.org/dev/library/pty.html>`_
documentation.

``ptyng.spawn`` now supports ``timeout`` argument. If the timeout expires, the
spanwed child process will be killed and waited for.
``ptyng.spawn`` now supports ``timeout`` argument. If the timeout
expires, the spawned child process will be killed and waited for.
Another ``env`` argument can be used to set the runtime environment
variables for the spawned child process, default is ``os.environ``.

0 comments on commit e40a2e6

Please sign in to comment.