Skip to content

build can't find conf.py? #791

@larsks

Description

@larsks

If I try to build circuitpython with current master (dd0f868), I get:

Use make V=1, make V=2 or set BUILD_VERBOSE similarly in your environment to increase build verbosity.
FREEZE modules
Traceback (most recent call last):
  File "../../py/makeversionhdr.py", line 108, in <module>
    make_version_header(sys.argv[1])
  File "../../py/makeversionhdr.py", line 70, in make_version_header
    info = get_version_info_from_docs_conf()
  File "../../py/makeversionhdr.py", line 55, in get_version_info_from_docs_conf
    with open(os.path.join(os.path.dirname(sys.argv[0]), "..", "docs", "conf.py")) as f:
IOError: [Errno 2] No such file or directory: '../../py/../docs/conf.py'
make: *** [../../py/py.mk:273: build/genhdr/mpversion.h] Error 1
make: *** Waiting for unfinished jobs....

And indeed, there is no py/conf.py. It looks as if it was relocated in 46e7f8e to the top-level of the repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions