Open shivarajnaidu opened 8 years ago
Arch Linux has support. Packaging would be pretty stupid simple if someone that uses Fedora or any other OS would want to package it:
python3 setup.py build
python3 setup.py install --root=$pkgdir --optimize=1
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}/
install -Dpm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
install -dm755 ${pkgdir}/usr/share/doc/${pkgname}/
install -Dpm644 AUTHORS ${pkgdir}/usr/share/doc/${pkgname}/
Just ensure that you have these dependencies installed:
python3 python-distutils-extra python-gobject yelp
Sorry .. I am Newbie .. Don't know much about packaging stuff .. However Thanks for your kind reply @mmstick and I want suggest something for now .. If possible ... for now , providing shell or python installation script will we helpful ..
same.
Hello,
I am on Fedora 26 and am attempting to build and install typecatcher. Here is my Python version:
python3 --version Python 3.6.1 :: Anaconda custom (64-bit)
Anaconda Python distribution is located in /opt/anaconda3. I installed yelp and python3-gobject with 'pip', and installed python-distutils-extra via GIT.
I succeeded in the build/install, but when I try to run typecatcher, I get the following error:
Traceback (most recent call last):
File "/opt/anaconda3/bin/typecatcher.py", line 46, in
Any chance someone can point me in the right direction? It would be nice to have this application in a snap, flatpak, or appimage package.
Thanks.
May be best if we just rewrite this in an actual systems language. Rust rewrite candidate, perhaps? I could probably look into it.
@johjeff How did you install gi
?
I'll look into providing a snap or flatpack. I do not regularly use a Fedora system nor am I versed in the art of RPM packaging, so I have no intentions to package it as an RPM myself. Thought, I'm happy to help anyone who is interested in doing so.
@andrewsomething Python software comes with a whole sleuth of issues. Runtime bugs, compatibility issues, over-reliance on pip, performance issues, etc. So, lets save the planet and rewrite this in a proper compiled lang that won't require snaps or flatpaks for distribution.
gi comes with python3-gobjects I believe. I installed in Anaconda using PIP, but I installed in the OS with DNF(rpm). So, rather than go through the build steps above, I deleted my previous clone, and recloned the project. Then, I simply ran the executable in 'bin' and it worked. That is assuming all your dependencies are in place. So, the question is what are all the dependencies, both Python and system. To be honest I haven't created a distribution independent package yet, but I believe they package up all the dependencies in the package. That makes it much bigger, but should allow it to run on any platform.
I just checked from Anaconda and it runs there too after manually installing those deps with PIP.
It would be nice to have this application in a snap, flatpak, or appimage package.
Providing an AppImage would have, among others, these advantages:
appimaged
Here is an overview of projects that are already distributing upstream-provided, official AppImages.
If you have questions, AppImage developers are on #AppImage on irc.freenode.net.
Python 3 is causing the problem @johjeff The program is written using python2.7. You may need to use update-alternatives or run from the command line using /usr/bin/python2.7 typecatcher.
Actually, it doesn't seem like typecatcher will build for fedora as fedora doesn't have an equivalent to distutils-extra.
In fact, this project seems pretty abandoned...
typecatcher is amazing app for linux.. but how to install it on fedora and other Linux os s? is there any way to install typecatcher other than Ubuntu and deb based systems.?