Skip to content

Commit

Permalink
Merge pull request #1 from doronz88/main
Browse files Browse the repository at this point in the history
fix global installation
  • Loading branch information
doronz88 committed Jul 12, 2023
2 parents 050b6a2 + 9343e99 commit 7749785
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9, "3.10", 3.11]

steps:
- uses: actions/checkout@v2
Expand All @@ -35,3 +35,7 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test installation
python3 -m pip install .
- name: Test usage
python3 -m pyipsw
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ dmypy.json

# Pyre type checker
.pyre/

# PyCharm
.idea

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Python application](https://github.com/matan1008/pyipsw/workflows/Python%20application/badge.svg)](https://github.com/matan1008/pyipsw/actions/workflows/python-app.yml "Python application action")
[![Pypi version](https://img.shields.io/pypi/v/pyipsw.svg)](https://pypi.org/project/pyipsw/ "PyPi package")
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/matan1008/pyipsw.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/matan1008/pyipsw/context:python)

- [Description](#description)
- [Installation](#installation)
Expand All @@ -16,15 +15,15 @@
Install the last released version using `pip`:

```shell
python3 -m pip install --user -U pyipsw
python3 -m pip install -U pyipsw
```

Or install the latest version from sources:

```shell
git clone git@github.com:matan1008/pyipsw.git
cd pyipsw
python3 -m pip install --user -U -e .
python3 -m pip install -U -e .
```

# Usage
Expand Down Expand Up @@ -95,4 +94,4 @@ You can also download the firmwares with:

```shell
pyipsw download-devices /tmp/firmwares -f "'iPhone10' in device and '14.4' in version"
```
```
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ def get_description():
description='Utility for querying ipsw.me data',
long_description=get_description(),
long_description_content_type='text/markdown',
cmdclass={},
packages=find_packages(),
package_data={'': ['*.txt', '*.TXT']},
data_files=[('.', ['requirements.txt'])],
author='Matan Perelman',
install_requires=parse_requirements(),
entry_points={
Expand All @@ -42,6 +39,8 @@ def get_description():
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
url='https://github.com/matan1008/pyipsw',
project_urls={
Expand Down

0 comments on commit 7749785

Please sign in to comment.