Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johnwason opened this issue Mar 22, 2021 · 0 comments
Open

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

johnwason opened this issue Mar 22, 2021 · 0 comments

Comments

@johnwason
Copy link

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='wason@wasontech.com',
    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant