Comments (14)
The easiest option is to use codespaces directly in GitHub. It won't work for GUIs (Qt, kivy) but for everything else it should be ok. If you want to run it locally, you can look at the Dockerfile
that's inside the .devcontainer
directory.
Tests can be run with the tox test plugin (which is automatically installed if you use the devcontainer), but due to some strange vscode-server restrictions you first have to open the tox.ini
file, and then the individual test options will appear under the test menu.
from pybitmessage.
It is a major risk if you cannot develop a software without tools from Microsoft.
And, cloud computing is hard for me since I am totally behind away from clearnet using Tor.
from pybitmessage.
Of course you can develop PyBitmessage without tools from Microsoft (except for building windows binaries which do require some Microsoft libraries, even though they are built with wine). I for example develop with vim, but I don't run the tests or builds locally anymore, I let buildbot do it. I use codespaces for pair programming.
If you want to run the PyQt4 version locally while developing, you can base your environment on Ubuntu 18.04, either as a VM or as a container. I for example use it in docker with xpra frontend.
from pybitmessage.
One of the problems with the Qt frontend is that we don't have automated tests for it, so you have to test it locally, for now. There were some attempts but I don't think they were finished.
from pybitmessage.
I don't know GUI world well, but if you know some GUI toolkits that have automatic test facilities, please let me know.
In particularly, does kivy have them?
One of the problems with the Qt frontend is that we don't have automated tests for it, so you have to test it locally, for now. There were some attempts but I don't think they were finished.
from pybitmessage.
For kivy, we use telenium. This is what it then looks like: https://artifacts.bitmessage.at/kivy/25018/test.webm
For Qt, this is the PR I was referring to: #1603
from pybitmessage.
I don't like Ubuntu.
It's managed by profit company.
I have no high-end machine, so VM can not run smoothly.
I'm poor enough to be unable to buy new computer.
I don't like docker.
I had tried to follow a docker tutorial once several years ago, but failed to understand.
If you want to run the PyQt4 version locally while developing, you can base your environment on Ubuntu 18.04, either as a VM or as a container. I for example use it in docker with xpra frontend.
BTW, now I'm trying to build good old Qt4 from source code on my new stable Debian derived Linux.
It is thorned road, so I don't know I can finish or not.
from pybitmessage.
Interesting!
For kivy, we use telenium. This is what it then looks like: https://artifacts.bitmessage.at/kivy/25018/test.webm
For Qt, this is the PR I was referring to: #1603
from pybitmessage.
I don't like Ubuntu. It's managed by profit company.
Well, you don't have to use it, it's just going to get more difficult to setup an environment for python2/Qt4.
I have no high-end machine, so VM can not run smoothly. I'm poor enough to be unable to buy new computer.
I understand. But as a result you're going to spend unnecessarily lot of time working around the restrictions.
I don't like docker. I had tried to follow a docker tutorial once several years ago, but failed to understand.
This is unfortunate as with containerisation you can greatly enhance your development performance.
BTW, now I'm trying to build good old Qt4 from source code on my new stable Debian derived Linux. It is thorned road, so I don't know I can finish or not.
It should work on an older Debian as from the point of view of the build tooling we use, it's basically the same as Ubuntu.
If you don't like containers, maybe then a simple chroot, using debootstrap, should work, assuming you are also not super low on disk space.
from pybitmessage.
debootstrap!!
I completely forgot it!
Thanks, I will try it later :)
If you don't like containers, maybe then a simple chroot, using debootstrap, should work, assuming you are also not super low on disk space.
from pybitmessage.
My life is totally killing time.
My true purpose is disabled from the beginning,
so alternatively I was forced to choose playing logical games all over my life.
It's fun, anyway.
I love slow computers :)
I have no high-end machine, so VM can not run smoothly. I'm poor enough to be unable to buy new computer.
I understand. But as a result you're going to spend unnecessarily lot of time working around the restrictions.
from pybitmessage.
The debootstrap method works almost perfectly!
sudo su
apt-get update
apt-get install debootstrap
# If you use Debian instead of Devuan,
# use 'buster' instead of 'beowulf'.
debootstrap beowulf /home/bm
chroot /home/bm
apt-get install python-qt4
apt-get install python-six
apt-get install git
apt-get install locales
# if you use English and Japanese,
# choose: en_US.UTF-8 and ja_JP.UTF-8
dpkg-reconfigure locales
apt-get install fonts-takao # Japanese font
adduser user
su user
cd
git clone https://github.com/Bitmessage/PyBitmessage.git
cd PyBitmessage
./start.sh
PyBitmessage powered by Python 2.7 + PyQt4 launched successfully!
There are troubles with sounds, but they may be acceptable now.
But, beowulf (buster) is oldoldstable, so when Devuan (Debian) released next major version, it will be dropped, and this bootstrap method will be unable.
from pybitmessage.
I have managed to build Qt4 by two days long surgery.
Next, I tried to build PyQt4 with PyPy-Python 2.7.
But, sipconfig module is requred and it couldn't build yet.
To build it, it seems that some modification of C++ code may be required, so I stucked and gave up finally.
Then, I tried debootstrap method, and almost perfectly succeeded in ten minutes.
from pybitmessage.
Debian 10 LTS buster will be dropped on June 30th, 2024, which is the last version including Python2 deb package >_<
from pybitmessage.
Related Issues (20)
- Append `*.sql` files into `buildozer.spec`
- APPImage doesn't connect anymore HOT 8
- Bitmesage Plus enhanced security
- Pyelliptic is deprecated HOT 1
- Arch Linux is missing a maintainer
- Linux Mint 21 (cinnamon) incompatibility
- Incorrect stream offset in `HandleDisseminatePreEncryptedMsg`
- *
- Peter Surda (Peter Šurda) poses a significant threat to Bitmessage. HOT 3
- PyQt4 module is not availabale anymore HOT 3
- Newbie on Linux(Ubuntu) with AppImage HOT 1
- Appimage release
- 中文比特channel (ad, can close me)
- How about using the "Black" code formatter on the whole codebase?
- Don't use "hello %1".arg("world") : arg() can't be used in Python 3 HOT 6
- objectracker.py should be renamed to objecttracker.py
- Texts of the peers are almost invisible on Dark theme of GTK HOT 1
- msgid is stored as text type HOT 5
- OpenBSD connectivity issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybitmessage.