Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anascacais authored Jan 24, 2024
1 parent 9496b8a commit 79aea74
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,26 @@
import io
import os
import sys
import re
import ast
from shutil import rmtree

from setuptools import find_packages, setup, Command

_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('biosppy/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))

# Package meta-data.
NAME = 'biosppy'
DESCRIPTION = 'A toolbox for biosignal processing written in Python.'
URL = 'https://github.com/scientisst/BioSPPy'
EMAIL = '[email protected]'
AUTHOR = 'Instituto de Telecomunicacoes'
REQUIRES_PYTHON = '>3.5.2'
VERSION = '2.1.1'
VERSION = version
LICENSE = 'BSD 3-clause'

# What packages are required for this module to be executed?
Expand Down

0 comments on commit 79aea74

Please sign in to comment.