Skip to content

error: Error: setup script specifies an absolute path #47

@johnwason

Description

@johnwason

I am getting the error error: Error: setup script specifies an absolute path when using a standard Python package. The source can be found here:

https://github.com/robotraconteur/robotraconteur_companion_python

The contents of the setup.py file are:

from setuptools import setup, find_packages, find_namespace_packages

setup(
    name='RobotRaconteurCompanion',
    version='0.1.2',
    description='Robot Raconteur Python Companion Library',
    author='John Wason',
    author_email='[email protected]',
    url='http://robotraconteur.com',
    package_dir={'': 'src'},
    packages=find_namespace_packages(where='src'),
    include_package_data=True,
    zip_safe=False,
    package_data={'RobotRaconteurCompanion.StdRobDef': [
        '*.robdef'
    ]},
    install_requires=[
        'RobotRaconteur',
        'numpy',
        'PyYAML',
        'setuptools',
        'importlib_resources'
    ],
    tests_require=['pytest'],
    extras_require={
        'test': ['pytest']
    }
)

There are no paths specified, and only standard setuptools commands are used.

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