8000 Fix for #180 · pythonnet/pythonnet@7bccf74 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bccf74

Browse files
author
Dani Carles
committed
Fix for #180
1 parent 316182f commit 7bccf74

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
sudo: required
12
language: python
23
python:
34
- 2.6
45
- 2.7
56
before_install:
6-
- sudo apt-get install software-properties-common
77
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
8-
- sudo apt-get -qq update
9-
- sudo apt-get -qq install mono-devel mono-gmcs mono-xbuild nunit-console
10-
- sudo mozroots --import --machine --sync
11-
- yes | sudo certmgr -ssl -m https://go.microsoft.com
12-
- yes | sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
13-
- yes | sudo certmgr -ssl -m https://nuget.org
8+
- sudo apt-get install software-properties-common
9+
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
10+
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
11+
- echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
12+
- sudo apt-get update
13+
- sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options 9458 ::="--force-confdef" -o Dpkg::Options::="--force-confnew" install mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono nunit-console
14+
1415
install:
1516
- python setup.py build_ext --inplace
1617
script:

src/monoclr/pynetinit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ PyNet_Args* PyNet_Init(int ext) {
3131
pn_args->shutdown_name = "Python.Runtime:Shutdown()";
3232

3333
pn_args->domain = mono_jit_init_version(MONO_DOMAIN, MONO_VERSION);
34+
mono_domain_set_config(pn_args->domain, ".", "Python.Runtime.dll.config");
3435

3536
/*
3637
* Load the default Mono configuration file, this is needed

0 commit comments

Comments
 (0)
0