Initial commit

This commit is contained in:
ljss
2025-02-20 16:36:16 +08:00
commit fbe0ac0d6e
10 changed files with 876 additions and 0 deletions

18
setup.py Normal file
View File

@@ -0,0 +1,18 @@
from datetime import datetime
import subprocess
from setuptools import setup
try:
cmd = ['git', 'rev-parse', '--short', 'HEAD']
rev = '+' + subprocess.check_output(cmd).decode('ascii').rstrip()
except Exception as _:
now = datetime.now()
date_time_str = now.strftime("%Y-%m-%d-%H-%M-%S")
rev = '+' + date_time_str
setup(
name="dualpipe",
version="1.0.0" + rev,
)