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 ffmpeg dependency and don't import project in setup.py #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ashtuchkin
Copy link

Fixes #1.

Also it's a bad practice to import the project in setup.py, as at the time of setup the environment likely doesn't have the required dependencies like numpy. There are a couple ways to resolve this while keeping the 2 versions in the same place, see https://packaging.python.org/en/latest/guides/single-sourcing-package-version/.

@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
import pathlib
from gpmf import __version__
__version__ = "0.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Remove the __version__ definition in gpmf/__init__.py too so we don't have duplicate definitions that risk being out of sync.

@ashtuchkin
Copy link
Author

@kalvdans do you have write access to the original repository?

@kalvdans
Copy link

@kalvdans do you have write access to the original repository?

No, sorry. I can't merge, just helping out reviewing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong dependency python-ffmpeg. Should be: ffmpeg-python
2 participants