Remove git version-checking code from setup.py
This commit is contained in:
parent
3e80956bd0
commit
80c567b7fb
7
setup.py
7
setup.py
@ -1,16 +1,11 @@
|
||||
import setuptools
|
||||
import subprocess
|
||||
|
||||
with open("README.rst", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
def get_version():
|
||||
cmd = 'printf "%s" "$(git describe --long | sed "s/\([^-]*-\)g/r\1/;s/-/./g")"'
|
||||
return subprocess.run(cmd, shell=True, text=True).stdout
|
||||
|
||||
setuptools.setup(
|
||||
name="packaging_scripts",
|
||||
version=get_version(),
|
||||
version="1.0",
|
||||
author="Eric Russel Torres",
|
||||
author_email="erictorres4@protonmail.com",
|
||||
description="A set of helpers for automating borg interaction",
|
||||
|
Loading…
x
Reference in New Issue
Block a user