Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catmux create session module #33

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions script/catmux_create_session → catmux/catmux_create_session.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# SOFTWARE.
# -- END LICENSE BLOCK ------------------------------------------------

from __future__ import print_function
import os
import logging
import subprocess
Expand Down Expand Up @@ -136,7 +135,3 @@ def main():
session_config.run()
if not args.detach:
safe_call(["tmux", "-L", args.server_name, "attach", "-t", args.session_name])


if __name__ == "__main__":
main()
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
long_description_content_type="text/markdown",
url="https://github.com/fmauch/catmux",
packages=setuptools.find_packages(),
scripts=["script/catmux_create_session"],
entry_points={
"console_scripts": ["catmux_create_session=catmux.catmux_create_session:main"]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down
Loading