Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
manual version string
Browse files Browse the repository at this point in the history
FAReTek1 committed Oct 30, 2024
1 parent 0e4710b commit 05ec0c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -2,17 +2,17 @@
import subprocess

# Copied from https://www.youtube.com/watch?v=U-aIPTS580s
remote_version = subprocess.run(['git', 'describe', '--tags'], stdout=subprocess.PIPE).stdout.decode('utf-8').strip()
assert '.' in remote_version
# remote_version = subprocess.run(['git', 'describe', '--tags'], stdout=subprocess.PIPE).stdout.decode('utf-8').strip()
# assert '.' in remote_version

# with open('README.md', 'r', encoding="utf-8") as readme:
# long_description = readme.read()

print(remote_version)
# print(remote_version)

setup(
name='sbeditor',
version=remote_version,
version="v0.0.0-beta.5",
packages=['sbeditor'],
url='https://github.com/FAReTek1/sbeditor',
license='MIT',

0 comments on commit 05ec0c8

Please sign in to comment.