Skip to content

Commit

Permalink
versioning and dependency tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gerth2 committed Dec 11, 2023
1 parent bc93c04 commit 6b78555
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions photon-lib/py/setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
from setuptools import setup, find_packages
import subprocess

versionStr = subprocess.check_output(['git', 'describe']).decode('utf-8').strip()
print(f"Building version {versionStr}")

setup(
name='photonlibpy',
version='0.0.1',
packages=find_packages(),
version=versionStr,
install_requires=[
"robotpy"
"wpilib<2025,>=2024.0.0b2",
],
description="Pure-python implementation of PhotonLib for interfacing with PhotonVision on coprocessors",
url="https://photonvision.org",
author="Photonvision Development Team",
)

0 comments on commit 6b78555

Please sign in to comment.