Skip to content

Commit

Permalink
v1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
theRealCarneiro committed Nov 17, 2021
1 parent d671dc6 commit 83322b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pulsemeeter/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import appdirs


__version__ = '1.2.5'
__version__ = '1.2.6'


HOME = os.getenv('HOME', os.getenv('USERPROFILE'))
Expand Down
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@
import sys
import pathlib
from setuptools import setup

try:
import pulsemeeter
except ImportError as ex:
print(f'ERROR: {ex.name} not installed, please run \'pip install requirements.txt\' inside source directory')
sys.exit(1)


VERSION = pulsemeeter.__version__
README = (pathlib.Path(__file__).parent / "README.md").read_text()
DATA_FILES = [('share/licenses/pulsemeeter/', ['LICENSE']),]
REQUIREMENTS = []

data_files = [
('share/licenses/pulsemeeter/', ['LICENSE']),
]


with open('requirements.txt') as file:
for line in file:
REQUIREMENTS.append(line.rstrip())
Expand All @@ -25,7 +23,7 @@
dest = directory[6:]
if filenames:
files = [os.path.join(directory, filename) for filename in filenames]
data_files.append((os.path.join('share', dest), files))
DATA_FILES.append((os.path.join('share', dest), files))

setup(
name='pulsemeeter',
Expand All @@ -44,7 +42,7 @@
url='https://github.com/theRealCarneiro/pulsemeeter',
packages=['pulsemeeter'],
install_requires=REQUIREMENTS,
data_files=data_files,
data_files=DATA_FILES,
entry_points={
"console_scripts": [
"pulsemeeter = pulsemeeter.__main__:main",
Expand Down

0 comments on commit 83322b2

Please sign in to comment.