-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·29 lines (26 loc) · 896 Bytes
/
setup.py
File metadata and controls
executable file
·29 lines (26 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
import subprocess
# try:
# rev = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).decode().strip()
# subprocess.check_output(["sed", "-i", f"s/$dev/{rev}/g", "iox.py"])
# except subprocess.CalledProcessError as e:
# pass
from iox import __version__
setup(
name="iox",
version=__version__,
package_dir={"": "."},
entry_points={'console_scripts': ["iox=iox:__main__"]},
# Additional metadata
author="Michel Wortmann",
author_email="michel.wortmann@ecmwf.int",
long_description="Check input and output to conditionally execute commands in parallel",
url="https://github.com/mwort/iox",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)