Skip to content

Commit

Permalink
Changes for deployment (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz authored Dec 28, 2021
1 parent af1f8d5 commit dffc38e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions config/dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dfvfs (20211227-1) unstable; urgency=low
dfvfs (20211228-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline maintainers <log2timeline-maintainers@googlegroups.com> Mon, 27 Dec 2021 17:00:49 +0100
-- Log2Timeline maintainers <log2timeline-maintainers@googlegroups.com> Tue, 28 Dec 2021 04:19:48 +0100
2 changes: 1 addition & 1 deletion dfvfs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
storage media types and file formats.
"""

__version__ = '20211227'
__version__ = '20211228'
2 changes: 1 addition & 1 deletion docs/sources/developer/Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Or on Windows:

```bash
set PYTHONPATH=.
C:\Python38\python.exe run_tests.py
C:\Python3\python.exe run_tests.py
```

If you're running git on Windows make sure you have autocrlf turned off
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/user/Installation-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ To install the release versions of the dependencies run:
```
set PYTHONPATH=.
C:\Python38\python.exe tools\update.py --preset dfvfs
C:\Python3\python.exe tools\update.py --preset dfvfs
```
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,22 +163,23 @@ def parse_requirements_from_file(path):
Args:
path (str): path to the requirements file.
Yields:
str: name and optional version information of the required package.
Returns:
list[str]: name and optional version information of the required packages.
"""
with open(path, 'r') as file_object:
file_contents = file_object.read()

requirements = []
for requirement in pkg_resources.parse_requirements(file_contents):
try:
name = str(requirement.req)
except AttributeError:
name = str(requirement)

if name.startswith('pip '):
continue
if not name.startswith('pip '):
requirements.append(name)

yield name
return requirements


dfvfs_description = (
Expand Down

0 comments on commit dffc38e

Please sign in to comment.