mirror of
https://github.com/deepseek-ai/DualPipe
synced 2025-06-26 18:16:46 +00:00
Initial commit
This commit is contained in:
18
setup.py
Normal file
18
setup.py
Normal 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,
|
||||
)
|
||||
Reference in New Issue
Block a user