Skip to content
This repository was archived by the owner on Sep 26, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/commands/python_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def package_python_openbts(package_requirements='no'):
if package_requirements == 'yes':
package_install_requirements(path)
with cd(path):
run('fpm -s python -t %s setup.py' % env.pkgfmt)
_run_fpm_python('setup.py')
run('mv *.%s ~/endaga-packages' % env.pkgfmt)

def package_python_osmocom(package_requirements='no'):
Expand Down
14 changes: 12 additions & 2 deletions client/deploy/openbts.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,18 @@
- name: Setup build requirements for python packages
apt: pkg={{ item }} state=present update_cache=no
with_items:
- python-pip
- python-pybabel
- python3-babel
- python3-dev
- python3-setuptools

- name: Get pip3 installer (not from debian repositories, uses ancient version)
get_url:
url: https://bootstrap.pypa.io/get-pip.py
dest: /tmp/get-pip.py

- name: Install pip
command: python3 /tmp/get-pip.py


- name: Setup requirements for building FS from source (needed to generate working python modules)
apt: pkg={{ item }} state=present update_cache=no
Expand Down
2 changes: 1 addition & 1 deletion client/packaging/build-endaga.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [[ $GSM =~ openbts ]]; then
'--depends' 'openbts-public (= 5.0.8)'
'--depends' 'sipauthserve-public (= 5.0.1)'
'--depends' 'smqueue-public (= 5.0.4)'
'--depends' 'python-openbts (= 0.1.15)'
'--depends' 'python3-openbts (= 0.1.15)'
'--depends' 'liba53 (= 0.1)'
'--depends' 'freeswitch-meta-vanilla (= 1.4.15~1-1~wheezy+1)'
'--depends' 'freeswitch-mod-python (= 1.4.15~1-1~wheezy+1)'
Expand Down