Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong module path in setup.py #493

Merged
merged 2 commits into from
Jan 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r requirements-dev.txt
python -m pip install .
python -m pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -48,7 +49,10 @@ jobs:
run: |
mypy mapillary_tools
- name: Test with pytest
env:
MAPILLARY_TOOLS_EXECUTABLE: mapillary_tools
run: |
mapillary_tools --version
pytest tests
- name: Build with Pyinstaller on MacOS
if: matrix.platform == 'macos-latest'
Expand All @@ -72,4 +76,4 @@ jobs:
generate_release_notes: true
fail_on_unmatched_files: false
files: |
./dist/releases/*
./dist/releases/*
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,21 @@ Mapillary Tools is a library for processing and uploading images to [Mapillary](
## Quickstart

Download the latest `mapillary_tools` binaries for your platform
here: https://github.com/mapillary/mapillary_tools/releases/tag/v0.8.1

here: https://github.com/mapillary/mapillary_tools/releases/tag/v0.8.1.
See [more installation instructions](#installation) below.

Upload imagery:
Process and upload imagery:

```shell
mapillary_tools process_and_upload "path/to/images/"
```

Upload BlackVue videos:

```shell
mapillary_tools upload "path/to/blackvue_videos/"
```

## Requirements

### User Authentication
Expand Down Expand Up @@ -479,7 +484,7 @@ been addressed, otherwise, open an issue on GitHub.
- Some devices do not store the camera direction properly, often storing only 0. Camera direction will get derived based
on latitude and longitude only if the camera direction is not set or `--interpolate_directions` is specified. Before
processing and uploading images, make sure that the camera direction is either correct or missing and in case it is
present but incorrect, you specify `-interpolate_directions`.
present but incorrect, you specify `--interpolate_directions`.

## Development

Expand Down Expand Up @@ -508,7 +513,7 @@ python3 -m pip install -r requirements.txt -r requirements-dev.txt
Run the code from the repository:

```shell
python3 -m mapillary_tools --version
python3 -m mapillary_tools.commands --version
```

Run tests:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def read_requirements():
packages=["mapillary_tools", "mapillary_tools.commands", "mapillary_tools.geotag"],
entry_points="""
[console_scripts]
mapillary_tools=mapillary_tools.__main__:main
mapillary_tools=mapillary_tools.commands.__main__:main
""",
install_requires=read_requirements(),
)