Skip to content

Add CMakeLists.txt (etc...) to sdist #90

@tlambert03

Description

@tlambert03

#89 added the sdist to pypi, which is great. However, in trying to build this package on conda-forge, I pulled the sdist from pypi and tried to build, but the sdist doesn't contain CMakeLists.txt (and perhaps other things) required to actually build the source.

error

Building wheels for collected packages: aicspylibczi
  Created temporary directory: /tmp/pip-wheel-nnka06mp
  Running command /home/conda/staged-recipes/build_artifacts/aicspylibczi_1633099207316/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-o13na_jo/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-o13na_jo/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-nnka06mp
  Building wheel for aicspylibczi (setup.py): started
  Destination directory: /tmp/pip-wheel-nnka06mp
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/aicspylibczi
  copying aicspylibczi/__init__.py -> build/lib.linux-x86_64-3.8/aicspylibczi
  copying aicspylibczi/types.py -> build/lib.linux-x86_64-3.8/aicspylibczi
  copying aicspylibczi/CziFile.py -> build/lib.linux-x86_64-3.8/aicspylibczi
  copying aicspylibczi/_version.py -> build/lib.linux-x86_64-3.8/aicspylibczi
  running egg_info
  writing aicspylibczi.egg-info/PKG-INFO
  writing dependency_links to aicspylibczi.egg-info/dependency_links.txt
  writing requirements to aicspylibczi.egg-info/requires.txt
  writing top-level names to aicspylibczi.egg-info/top_level.txt
  reading manifest file 'aicspylibczi.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file 'aicspylibczi.egg-info/SOURCES.txt'
  running build_ext
  CMake Error: The source directory "/tmp/pip-req-build-o13na_jo" does not appear to contain CMakeLists.txt.

I can use the tar.gz from the github releases for now, but it would be nice to make the sdist fully "build-competent"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions