convert to setuptools / setup.py
This commit is contained in:
parent
ca93b8f56d
commit
88e070d88c
0
runon/__init__.py
Normal file
0
runon/__init__.py
Normal file
@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
import docker
|
import docker
|
||||||
@ -210,7 +208,3 @@ def main():
|
|||||||
ret = run_container(client, container)
|
ret = run_container(client, container)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
ret = main()
|
|
||||||
sys.exit(ret)
|
|
22
setup.py
Normal file
22
setup.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name = "runon",
|
||||||
|
version = "2.0.0.dev0",
|
||||||
|
maintainer = "Gilles Grandou",
|
||||||
|
maintainer_email = "gilles@grandou.net",
|
||||||
|
description = "Run your commands on any systems",
|
||||||
|
packages = find_packages(),
|
||||||
|
python_requires = ">=3.6",
|
||||||
|
install_requires = [
|
||||||
|
"docker",
|
||||||
|
"dockerpty",
|
||||||
|
"pyxdg",
|
||||||
|
|
||||||
|
],
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
"runon=runon.runon:main",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user