Skip to content

Commit 9a1d74f

Browse files
authored
Merge pull request #45 from saxbophone/develop
v0.7.2
2 parents f916d23 + 55a7336 commit 9a1d74f

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

.isort.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ line_length=79
33
multi_line_output=5
44
not_skip=__init__.py
55
known_first_party=basest
6-
known_third_party=pypandoc
76
lines_after_imports=2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# basest-python
2-
Converts symbols from any number base to any other number base, in Python
2+
Arbitrary base binary-to-text encoder (any base to any base), in Python.
33

44
## What?
55
In short, **basest** is *based on* (pun *definitely* intended :wink:) the concept of binary-to-text conversion, that is where binary or 8-bit data is converted or serialised into a text-based representation format that can be safely passed through a medium that would otherwise destroy or corrupt the meaning of the binary data.

setup.py

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,18 @@
1717

1818

1919
def parse_requirements(filepath):
20-
""" load requirements from a pip requirements file """
21-
lineiter = (line.strip() for line in open(filepath))
22-
return [line for line in lineiter if line and not line.startswith('#')]
23-
24-
25-
def retrieve_deps(filepath):
2620
"""
27-
Given a file path that points to a requirements file that pip can
28-
understand, parse it using pip's parser and return the requirements it
29-
contains as a list.
21+
Load requirements from a pip requirements file
3022
"""
31-
return [
32-
str(dep.req) for dep in parse_requirements(filepath, session=False)
33-
]
23+
lines = (line.strip() for line in open(filepath))
24+
return [line for line in lines if line and not line.startswith('#')]
3425

3526

3627
setup(
3728
name='basest',
38-
version='0.7.1',
29+
version='0.7.2',
3930
description=(
40-
'Converts symbols from any number base to any other number base'
31+
'Arbitrary base binary-to-text encoder (any base to any base)'
4132
),
4233
long_description=open(
4334
os.path.join(os.path.dirname(__file__), 'README.md')

0 commit comments

Comments
 (0)