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
setup.py install is deprecated. Use build and pip and other standards-based tools #2013
setup.py install is deprecated. Use build and pip and other standards-based tools #2013
Comments
I think now you should use pip: Alternatively, you could install from VCS, something like |
I'm doing GNS3 installations via pip since the early 2.2 days and it's working great. Main reason is, that the pip installation uses a location for the share folder, that I like better than the location used by setup.py, see GNS3/gns3-gui#2919 (comment) |
@grossmj
I tried to add the following option but it seems to be unsupported:
Any suggestion? @b-ehlers
|
@jean-christophe-manciot maybe something like |
@grossmj Unfortunately, despite what is stated in 'Installing Python Modules (Legacy version) Doc' and 'pip install doc', all --install-option seem unsupported. With build-requirements.txt:
|
@jean-christophe-manciot let us know if you find an alternative. |
@grossmj I haven't yet; I have also posted this on stackoverflow, but there is no progress yet. |
@jean-christophe-manciot were you able to solve it? |
No, still the same with:
|
This seems like a clean way to do it. |
We have plans to allow the installation of our gns3-server Debian package as a service. Please see #1918 |
The new recommended way is by using build, for example: |
We have migrated to pyproject.toml. Setup.py shouldn't be used directly anymore. |
python3.9 3.9.9-1
distutils 3.9.9-3
setuptools: 60.0.3
Building gns3-gui/server from source throws a Setuptools deprecation warning:
Is there another way to build gns3 from source?
The text was updated successfully, but these errors were encountered: