Skip to content

Commit

Permalink
Revert "Extract version from git tags"
Browse files Browse the repository at this point in the history
This reverts commit f6ab44d.
  • Loading branch information
v3l0c1r4pt0r committed May 23, 2020
1 parent f6ab44d commit 80d9056
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
#!/usr/bin/env python3
from distutils.core import setup
import subprocess

def version():
git_proc = subprocess.Popen(['git', 'describe', '--always', '--dirty', '--tag'], stdout=subprocess.PIPE)
return git_proc.stdout.readlines()[0].decode('utf-8').strip()

setup(
name = 'makeelf',
packages = ['makeelf', 'makeelf.type'],
version = version(),
version = '0.3.3',
description = 'ELF reader-writer library',
url = 'https://github.com/v3l0c1r4pt0r/makeelf',
author = 'v3l0c1r4pt0r',
Expand Down

0 comments on commit 80d9056

Please sign in to comment.