Code Monkey home page Code Monkey logo

cppy's People

Contributors

abravalheri avatar awulkiew avatar ayushman17 avatar cmulay avatar guifelix avatar levonet avatar matthieudartiailh avatar pgrimaud avatar sccolbert avatar triforcex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cppy's Issues

v1.2.1: Missing package name and header files

Hello!

I am updating cppy for Solus, and I noticed that version 1.2.1 doesn't seem right.
Below you can see the changes between the last v.1.2.0 and 1.2.1.

         <Files>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy-1.2.0-py3.9.egg-info/PKG-INFO</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy-1.2.0-py3.9.egg-info/SOURCES.txt</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy-1.2.0-py3.9.egg-info/dependency_links.txt</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy-1.2.0-py3.9.egg-info/top_level.txt</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/__init__.py</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/__pycache__/__init__.cpython-39.pyc</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/__pycache__/version.cpython-39.pyc</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/include/cppy/cppy.h</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/include/cppy/defines.h</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/include/cppy/errors.h</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/include/cppy/ptr.h</Path>
-            <Path fileType="library">/usr/lib/python3.9/site-packages/cppy/version.py</Path>
+            <Path fileType="library">/usr/lib/python3.9/site-packages/UNKNOWN-1.2.1-py3.9.egg-info/PKG-INFO</Path>
+            <Path fileType="library">/usr/lib/python3.9/site-packages/UNKNOWN-1.2.1-py3.9.egg-info/SOURCES.txt</Path>
+            <Path fileType="library">/usr/lib/python3.9/site-packages/UNKNOWN-1.2.1-py3.9.egg-info/dependency_links.txt</Path>
+            <Path fileType="library">/usr/lib/python3.9/site-packages/UNKNOWN-1.2.1-py3.9.egg-info/top_level.txt</Path>
         </Files>

cppy isn't recognized as the package name and it is reported as UNKNOWN.
Also all header files are missing.

As source I used tarball from PyPI: https://files.pythonhosted.org/packages/source/c/cppy/cppy-1.2.1.tar.gz

Looks like same issue is with Arch Linux too.
https://archlinux.org/packages/community/any/python-cppy/

RuntimeError: Missing setup required dependencies: cppy.

python version 3.9
cppy==1.2.1
setuptools==65.3.0

I already have installed cppy version 1.2.1
here is the error while building kiwisolver using buildozer.

RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.

here is the complete log. I tried searching but no answers found.

[DEBUG]:   -> running python3 setup.py build_ext -v
[DEBUG]:        Traceback (most recent call last):
[DEBUG]:          File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/kiwisolver/x86__ndk_target_21/kiwisolver/setup.py", line 13, in <module>
[DEBUG]:            from cppy import CppyBuildExt
[DEBUG]:          File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/cppy/__init__.py", line 13, in <module>
[DEBUG]:            from .version import __version__, __version_info__
[DEBUG]:        ModuleNotFoundError: No module named 'cppy.version'
[DEBUG]:   
[DEBUG]:        The above exception was the direct cause of the following exception:
[DEBUG]:   
[DEBUG]:        Traceback (most recent call last):
[DEBUG]:          File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/kiwisolver/x86__ndk_target_21/kiwisolver/setup.py", line 15, in <module>
[DEBUG]:            raise RuntimeError(
[DEBUG]:        RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.
Exception in thread background thread for pid 278125:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v

  STDOUT:
Traceback (most recent call last):
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/kiwisolver/x86__ndk_target_21/kiwisolver/setup.py", line 13, in <module>
    from cppy import CppyBuildExt
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/cppy/__init__.py", line 13, in <module>
    from .version import __version__, __version_info__
ModuleNotFoundError: No module named 'cppy.version'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/kiwisolver/x86__ndk_target_21/kiwisolver/setup.py", line 15, in <module>
    raise RuntimeError(
RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.


  STDERR:

Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1297, in <module>
    main()
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 730, in __init__
    getattr(self, command)(args)
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 212, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 505, in build_recipes
    recipe.build_arch(arch)
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 981, in build_arch
    self.build_compiled_components(arch)
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 992, in build_compiled_components
    shprint(hostpython, 'setup.py', self.build_cmd, '-v',
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 915, in next
    self.wait()
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/zaheer/.local/share/virtualenvs/KivyAnd3.9v-wH4pEdLB/lib/python3.9/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v

  STDOUT:
Traceback (most recent call last):
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/kiwisolver/x86__ndk_target_21/kiwisolver/setup.py", line 13, in <module>
    from cppy import CppyBuildExt
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/cppy/__init__.py", line 13, in <module>
    from .version import __version__, __version_info__
ModuleNotFoundError: No module named 'cppy.version'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/zaheer/Desktop/KivyAnd3.9v/gribplot/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a_x86_x86_64/build/other_builds/kiwisolver/x86__ndk_target_21/kiwisolver/setup.py", line 15, in <module>
    raise RuntimeError(
RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.


  STDERR:

Switch to GH actions

Travis is going away for open-source projects, so CI will have to be migrated to GitHub actions.
If you agree, I'm ready to help.

Release version compatible with setuptools pyproject validation (>=60.2.0)

I noticed you already moved completely to pyproject.toml, but with version 1.2.0 we're still seeing validation issues with setuptools==61.2.0.

version should be statically defined in the ``version`` field

Please release a new version that passes validate-pyproject, I think the main branch does.

docs: typo glitch in installation.rst

The installation.rst file is well written, but on the published doc there is a typo glitch:

In docs/source/installation.rst on line 10 the typo is correct but on published version it isn't.

Attached Screenshot:
glitch

Fix:
Removing and adding GitHub (Rewriting in individual commits)

Adding Py2/3 compatibility layer and use in atom/enaml

Hi,
I am wondering if it would make sense to add the compatibility layer needed by both atom and enaml to compile on both python 2 and 3 in this project (to avoid duplicate code) and to migrate atom and enaml to cppy. I am ready to do the job if it makes sense.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.