FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #7 from denfromufa/master · attackgithub/pythonnet@5d0bc38 · GitHub

Repository navigation

Commit 5d0bc38

Browse files
denfromufa
authored
Merge pull request pythonnet#7 from denfromufa/master
update with fixes for tox
2 parents fa817f5 + aedf8d6 commit 5d0bc38

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

‎.travis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ install:
5858
- pip install tox-travis
5959
- pip install six
6060
- pip install pycparser
61-
- python setup.py build_ext --inplace
62-
script:
6361
- tox
62+
- python setup.py build_ext --inplace
63+
script:
6464
- export PYTHONPATH=`pwd`:$PYTHONPATH
6565
- python src/tests/runtests.py

‎setup.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ def _install_packages(self):
229229
nuget = "mono %s" % nuget
230230
use_shell = True
231231

232+
cmd = "%s update -self" % nuget
233+
self.announce("Updating NuGet: %s" % cmd)
234+
check_call(cmd, shell=use_shell)
235+
232236
cmd = "%s restore pythonnet.sln -o packages" % nuget
233237
self.announce("Installing packages: %s" % cmd)
234238
check_call(cmd, shell=use_shell)
@@ -323,7 +327,7 @@ def _get_interop_filename():
323327

324328
setup(
325329
name="pythonnet",
326-
version="2.1.0",
330+
version="2.2.0-dev1",
327331
description=".Net and Mono integration for Python",
328332
url='http://pythonnet.github.io/',
329333
author="Python for .Net developers",

‎tox.ini‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# content of: tox.ini , put in same dir as setup.py
2+
[tox]
3+
envlist = py27,py33,py34,py35
4+
[tox:travis]
5+
2.7 = py27
6+
3.3 = py33
7+
3.4 = py34
8+
3.5 = py35

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL