Skip to content

Commit

Permalink
Changes for deployment (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Dec 28, 2021
1 parent af1f8d5 commit 53045e3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: |
dnf copr -y enable @gift/dev
dnf install -y python3 libbde-python3 libewf-python3 libfsapfs-python3 libfsext-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libqcow-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-cffi python3-cryptography python3-dfdatetime python3-dtfabric python3-idna python3-mock python3-pbr python3-pytsk3 python3-pyxattr python3-pyyaml python3-setuptools python3-six
dnf install -y @development-tools python3 python3-devel libbde-python3 libewf-python3 libfsapfs-python3 libfsext-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libqcow-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-cffi python3-cryptography python3-dfdatetime python3-dtfabric python3-idna python3-mock python3-pbr python3-pytsk3 python3-pyxattr python3-pyyaml python3-setuptools python3-six
- name: Run tests
env:
LANG: C.utf8
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
run: |
add-apt-repository -y ppa:gift/dev
apt-get update -q
apt-get install -y python3 libbde-python3 libewf-python3 libfsapfs-python3 libfsext-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libqcow-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-cffi-backend python3-cryptography python3-dfdatetime python3-distutils python3-dtfabric python3-idna python3-mock python3-pbr python3-pytsk3 python3-pyxattr python3-setuptools python3-six python3-yaml
apt-get install -y build-essential python3 python3-dev libbde-python3 libewf-python3 libfsapfs-python3 libfsext-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libqcow-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-cffi-backend python3-cryptography python3-dfdatetime python3-distutils python3-dtfabric python3-idna python3-mock python3-pbr python3-pytsk3 python3-pyxattr python3-setuptools python3-six python3-yaml
- name: Run tests
env:
LANG: en_US.UTF-8
Expand Down
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 <[email protected]> Mon, 27 Dec 2021 17:00:49 +0100
-- Log2Timeline maintainers <[email protected]> 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 53045e3

Please sign in to comment.