question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

License is being installed to `/usr/LICENSE`

See original GitHub issue
python setup.py build
python setup.py install --optimize=1 --skip-build

This generates a LICENSE file in /usr which is super weird.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mottossocommented, Nov 1, 2021

Done, thanks.

0reactions
CAM-Gerlachcommented, Nov 1, 2021

Just FYI, including LICENSE in data_files is likely the issue, or at the very least an issue; data_files is a a long deprecated, discouraged and unsafe way of distributing files outside the package tree that will eventually be fully removed, whereas the license_files, license_file and MANIFEST.in (in that order) are all much more appropriate solutions, never mind that reasonably modern packaging tools (thanks to a feature I helped add) will include LICENSE as a license_file automatically. So I suggest simply eliding the data_files line, as there’s no need for it anymore and it can only cause problems.

(I’m one of the maintainers of QtPy, BTW 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to obtain license or installation number
This help article will guide you through how to find your license number after the license has been installed on your system.
Read more >
Chapter 2 License Management (Sun WorkShop Installation ...
The license file, or a copy of it, must be accessible to every machine running the licensed software and each machine designated as...
Read more >
Installing Local (RLM) Licenses - Foundry Learn
- the easiest way to install a license is to use Foundry Licensing Utility (FLU). See Installing Licenses Automatically for more details. Manual...
Read more >
Installing a New License Server - Sybase Infocenter
Installing a New License Server · Insert DVD into the appriopriate drive. · To install the SySAM Suite using the GUI tool, launch...
Read more >
Before you install the license server - IBM
If you install the license server to the directory /opt/rational and the directory is owned by root, run the license_setup as root. For...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found