Commit Graph

46 Commits

Author SHA1 Message Date
71b5c87f75
Enabled python3, fixed type errors due to string encode/decode
Ported api to python3

Ported 10 test cases for test_api to Python3

Fixed decode error & some import errors

fixed all bugs for python3

fixed code quality

Python 2/3 compatible base64 encoding

code quality fixes

pylint: disable=e1101

fixed type error in test_logger

code quality fixes

fixed pybitmessage binary

changes in binary

added new binary
2021-07-14 17:07:23 +05:30
bb144d78f6
Reverting some strange logic and formatting. Insted use six
- to replace basestring with compatible type
  - for unified configparser import
2021-05-02 18:15:08 +03:00
671df69303
Work around deprecation of platform.dist() in recent python 2021-02-18 17:15:56 +02:00
e77238fa07
Support tox and request more warnings:
- make separate tests runner - tests.py; python setup.py test still works
  - tox.ini with coverage config
  - -b: issue warnings about comparing bytearray with unicode
  - export PYTHONWARNINGS=all on stage install
2021-02-18 17:12:43 +02:00
d05255625b
Universal pathmagic returns app dir; activated in setup for python3 2021-02-17 17:11:25 +02:00
f8844f4d74
Use common.skip_python3() to skip tests modules not supporting python3 2021-02-17 17:11:25 +02:00
c51108e867
Entry point 'desktop' for plugins managing desktop environment;
desktop_xdg will do it with pyxdg. Fixes: #857
2021-02-12 21:16:19 +02:00
citizenaspirant
93bf7ad62c
Add apparmor config to data_files for Debian and Ubuntu 2020-11-04 15:47:46 +02:00
affdb2fdc0
Solve problem with subprocess.call() on windows:
- uncomment console_scripts (only for windows) to get exe
 - replace call() with Popen() to avoid blocking
2020-11-02 18:01:50 +02:00
726986c1eb
Implemented JSON-RPC apivariant 2020-09-14 13:11:42 +03:00
f4bf3bac2a
Used defusedxml to protect against XML vulnerabilities 2020-09-14 13:11:42 +03:00
86932617bd
Add setuptools sphinx integration 2019-10-18 01:06:03 +03:00
6a0c3ae075
Remove obsolete helper_bootstrap and bundled SocksiPy 2019-09-25 18:55:01 +03:00
ec11632297
Introduce pluggable proxy configurators 2019-08-08 11:46:50 +03:00
38f36d7860
Added package fallback and suppressed pylint relative-import warning 2019-04-24 14:11:21 +03:00
4eec124225
msgpack-python package name was changed to msgpack from 0.5 2019-04-22 12:36:28 +03:00
ce6e9804ad
Added tests_require keyword to setup() 2018-10-22 17:18:24 +03:00
coffeedogs
3b75d900f6
Added: Sphinx docs, testing readthedocs integration
* Added: Sphinx configuration including readthedocs config
 * Added: Sphinx fabric task to auto-document the project
 * Fixed: Some issues in the code causing autodoc to fail when parsing
 * Added: Manual docs - structure, proof of concepts and RsT examples
 * Fixed: RsT formatting in docstrings
 * Fixed: Some adjacent minor style and lint issues
2018-06-13 10:07:45 +01:00
coffeedogs
6bb5b32b6a
Added: Support installing system dependencies of optional extra_requires components 2018-05-19 15:30:05 +01:00
08a2115412
Properly renamed qrcode plugin module and made menu available
for all address entries except for addressbook and blacklist
2018-03-13 13:46:47 +02:00
bb5f1d6f98
Setup.py typo
- surprisingly, it only was broken on some systems, e.g. Debian 8
2018-01-02 10:29:21 +01:00
abea17ded9
setup.py check if directory already exists 2017-09-21 19:57:34 +02:00
196d688b13
Remove dependency checking from setup.py
- still silently checks for msgpack to set the setuptools requirements
  correctly, but does not display anything
2017-09-21 13:43:01 +02:00
53c3eeb8f7
Sound plugins using pycanberra and gst-python 2017-09-20 10:21:27 +03:00
de531949e0
setup.py changes needed for indicator_libmessaging:
- entry point 'indicator' and new extra 'gir' which requires
   only pygobject
 - desktop entry
 - icons are renamed and placed into separate dirs for standard sizes,
   because data_files keyword not supports file renaming
2017-09-20 10:21:27 +03:00
b77eb0c7e5
Namespace 'bitmessage' for plugins entry points 2017-09-20 10:21:27 +03:00
289a6c5bfa
Added support for sound notification plugins which use
the desktop sound theme, with pycanberra for example. Plugin name should
start with 'theme' in that case, whereas the name of plugins playing the
sound file starts with 'file'.
2017-09-20 10:21:27 +03:00
ef8f40ccc4
Moved notifications to plugins (including sound) 2017-09-20 10:21:27 +03:00
fc960cbf86
Fixed own logical error
when missing msgpack package is being appended to install_requires
  list instead of the available one.
2017-08-29 13:50:49 +03:00
76fed78211
Made it possible to use installed umsgpack 2017-06-12 13:54:44 +03:00
06fed6f9c2
setup.py: second exception in list can be treated as variable 2017-06-12 12:58:16 +03:00
b7f9e74eea
setup.py: added new packages appeared after 36b5e2c 2017-06-12 12:52:24 +03:00
82c3c111b7
Fix os-release open mode
- thanks to @Lvl4Sword for reporting
2017-05-12 14:39:25 +02:00
4c597d3f7c
Error handling for non-interactive setup.py
- thanks to @orlitzky #993
2017-04-30 10:41:55 +02:00
e832ea1689
setup.py fix nested list 2017-04-04 12:31:52 +02:00
9aacef144b
Moved OS and package detection care to setuptools install command 2017-03-25 11:48:45 +02:00
Justin Ramos
e97df3ad4d
print SystemExit exception messages instead of using the current build failure text
Signed-off-by: Justin Ramos <justin.ramos@gmail.com>
2017-03-22 17:34:14 -05:00
9a5f7442a0
Setup.py fix
- handle missing "optional" key in package definition
2017-03-20 00:27:11 +01:00
13223887fc
Setup.py updates
- only waits for a prompt if running from a TTY
- support for Ubuntu 12 and older (different msgpack package name)
- fix crash for missing keys in the distro definition
- accept alternative msgpack providers
- add pyopencl as an extra
2017-03-17 19:25:19 +01:00
ee7e630694
Show a dialog with QR-code for selected bm-address 2017-03-06 18:00:23 +02:00
636ae17cc0
setup.py fix and update
- libssl dependency for Fedora
- typo in waiting for keypress
2017-03-01 11:44:58 +01:00
af5cb08093
setup.py updates
- parametrise module list
- allow optional modules (pyopencl, PyQt4)
- add setuptools
- add compiler error detection
- press return to continue
2017-03-01 11:29:38 +01:00
b7e75b9bc5
setup.py fixes, guix and pyopencl
- detect GUIX
- FreeBSD uses "pkg install", not "pkg_install"
- add pyopencl dependency checking
2017-02-28 22:22:36 +01:00
34084bbc80
Total setup.py cleanup and simple script installation 2017-02-28 15:51:49 +02:00
Justin Ramos
b50198afb5
changes needed to get current code to run 2017-02-25 00:06:04 -06:00
317d4d57cc
Add setup.py (setuptools)
- thanks to Lvl4Sword for the initial file
2017-02-24 16:49:53 +01:00