Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matteotortora committed Oct 19, 2022
1 parent 5ee0c62 commit a1552e4
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
Expand Up @@ -2,12 +2,12 @@
import os


def strip_comments(l):
return l.split('#', 1)[0].strip()
def strip_comments(line):
return line.split('#', 1)[0].strip()


def reqs(*f):
return list(filter(None, [strip_comments(l) for l in open(
return list(filter(None, [strip_comments(line) for line in open(
os.path.join(os.getcwd(), *f)).readlines()]))


Expand All @@ -16,7 +16,7 @@ def reqs(*f):

setuptools.setup(
name='PyTrack-lib',
version='2.0.4',
version='2.0.5',
packages=setuptools.find_packages(),
# namespace_packages=['pytrack'],
url='https://github.com/cosbidev/PyTrack',
Expand Down

0 comments on commit a1552e4

Please sign in to comment.