Skip to content

Commit

Permalink
add version to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
merlos committed Nov 4, 2024
1 parent a8337fc commit 890a5b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions primero-api/setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from setuptools import setup, find_packages

VERSION = '0.2.3'
def get_version():
return (open('primero_api/VERSION').read().strip())

setup(
name='primero-api',
version=VERSION,
version=get_version(),
packages=find_packages(),
install_requires=[
# List your dependencies here
Expand Down

0 comments on commit 890a5b5

Please sign in to comment.