src-d / lookout-sdk

SDK for lookout analyzers
Apache License 2.0
4 stars 11 forks source link

publish python sdk as sdist too #68

Closed smacker closed 5 years ago

smacker commented 5 years ago

If you try to install lookout-sdk using pip with non-default installation options, it will disable wheels and the installation will fail.

Example:

$ pip3 install --install-option="--prefix=/install" lookout==0.3.0
/usr/local/lib/python3.6/site-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
  cmdoptions.check_install_build_global(options)
Collecting lookout==0.3.0
  Cache entry deserialization failed, entry ignored
  Could not find a version that satisfies the requirement lookout==0.3.0 (from versions: 0.0.1)
No matching distribution found for lookout==0.3.0

Signed-off-by: Maxim Sukharev max@smacker.ru