How to set a icon in deb package?
I'm trying to set a icon to deb package but not able to get a solution.
Related
I'm using a forked package from github with this link : https://github.com/iManar33/flutter-gallery-package
I added the package to a different project and it was working correctly and every update of the package was installed correctly.
When I push an edit on my forked package, I usually delete pubspec.lock in my project then I do flutter pub get then run (maybe stop. and run).
Today,I pushed an edit on my forked package and I did the same of what I do usually in this case ,but the update was not installed.
I then deleted the whole package form dart Packages folder in my project but it was never reinstalled.
I tried adding the package manually to the folder that has all the installed dart Packages of my project in finder, but still can't find the package in the project :(
P.S: I'm using Android Studio
I need to install python packages into a virtualenv. The virtualenv is placed on a ramdisk, and I want the actual files to be installed in the virtualenv folder so that I can benefit from the the lower latency when loading.
It is not clear to me from the documentation I have seen if the package files are downloaded (or imported from global) to the virtualevn folder, or stored globally with only a reference to the version in the virtualenv (ambiguity on import/access).
Which is default behaviour by virtualenv? I can not see the size of the venv folder increasing as I install packages.
Folder size before installing pandas, numpy, scikit, tesorflow,
keras: 4k
Folder size after: 4k
If importing the package files is not default behaviour, how can I install packages to the virtualenv folder and set the interpreter to load the installed packages from the folder?
I've created a package with nugget CLI but can't find a way to install it from the IDE, the Package Manager Console isn't available in the version for Mac, and the nuget CLI tries to retrieve the package from the internet instead of reading the .nupkg file.
I have VS Community for Mac 7.3.3, mono 5.4.1.7 and nuget 4.3.0.4406
This is what I get when trying to install from the CLI
$ nuget install Package.1.0.0.nupkg
Feeds used:
https://api.nuget.org/v3/index.json
GET https://api.nuget.org/v3/registration3-gz-semver2/package.1.0.0.nupkg/index.json
NotFound https://api.nuget.org/v3/registration3-gz-semver2/package.1.0.0.nupkg/index.json 363ms
Unable to find package 'Package.1.0.0.nupkg'
You can add the directory that contains the .nupkg file as a package source in Visual Studio for Mac.
Select Preferences from the main menu.
Open NuGet - Sources in the Preferences dialog.
Click the Add button.
In the Add Package Source dialog that opens click the Browse button.
Find the directory with your .nupkg file then click the Open button.
Change the Name of the package source if you want to.
Then click the Add Source button.
Then you should be able to select the package source for your directory in the Add Packages dialog.
I understand this is an answered question but for the sake of completeness, I'll add my 2 cents. Since the original question talks about nuget CLI, one can use the CLI to add a package source like so:
nuget sources Add -Name "Feed Name" -Source "/path/to/directory"
Is it necessary to upload venv folder that itself contains 100's of files along with other folders and files of the same project to GitHub?
Simple answer no. In your gitignore file add the venv to ignore all the files inside your venv fold. Basically your venv fold store all the dependency for your projects, you could use pip freeze to generate the requirement.txt which others can use this file to reproduce the same environment as you did. Plus, the files inside your venv will be huge because it contains entire packages you installed.
You don't have to do that. What you can do is :
Remember your project python version.
Generate your Django project dependencies file requirement.txt.
-Create requirement.txt file use: pipreqs /path/to/your/project/ (I recommend pipreqs, it creates a project level requirement.txt file. You can also use pip freeze or other commands)
-Install all dependencies from it: pip install -r requirements.txt, make sure pip belongs to your virtualenv python other than OS default pip
Then you can easily install a brand new virtual env and install all dependencies.
In the command line, I can add and remove packages with raco pkg. In DrRacket, however, package management is handled through either File -> Install Package (if you are only installing packages), or File -> Package Manager (if you want to install a package, get a list of installed packages, etc.).
Unfortunately, this dialog does not appear to have a tag for removing a package. Is it possible to remove a package from DrRacket, or must that be done with with:
raco pkg remove <package-name>
Obviously, I can do it indirectly from within Racket using find-exe:
#lang racket
(require compiler/find-exe)
(system* "-l" "raco" "remove" "<package-name>")
But this seems clunky. Is there a better way to remove packages with DrRacket/
You can remove a package by going to: File -> Package Manager, and click on the second tab (Currently Installed) to see a list of all of your installed packages. Select the package you want to remove, and you will find a remove button in the bottom right corner. If you click that button the package will be removed from your system.
Here is a picture of the list of currently installed packages with the remove button highlighted.