Skip to content

Commit 321341d

Browse files
authored
Merge pull request #156 from nschloe/better-packaging
Better packaging
2 parents 85d40d0 + 834f6a0 commit 321341d

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ language: python
44

55
python:
66
- '2.7'
7-
- '3.4'
8-
9-
virtualenv:
10-
system_site_packages: true
7+
- '3.6'
118

129
addons:
1310
apt:
@@ -53,8 +50,7 @@ before_script:
5350
script:
5451
# cd into test directory to make sure we're using the pip-installed
5552
# matplotlib2tikz.
56-
- cd test
57-
- MPLBACKEND=Agg pytest --cov matplotlib2tikz
53+
- cd test && MPLBACKEND=Agg pytest --cov matplotlib2tikz
5854

5955
after_success:
6056
- bash <(curl -s https://codecov.io/bash)

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ README.rst: README.md
1313
python setup.py check -r -s || exit 1
1414

1515
upload: setup.py README.rst
16-
python setup.py sdist upload --sign
16+
rm -f dist/*
17+
python setup.py bdist_wheel --universal
18+
gpg --detach-sign -a dist/*
19+
twine upload dist/*
1720

1821
tag:
1922
@echo "Tagging v$(VERSION)..."

matplotlib2tikz/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
__copyright__ = 'Copyright (c) 2010-2017, %s <%s>' % (__author__, __email__)
66
__credits__ = []
77
__license__ = 'License :: OSI Approved :: MIT License'
8-
__version__ = '0.6.3'
8+
__version__ = '0.6.4'
99
__maintainer__ = u'Nico Schlömer'
1010
__status__ = 'Development Status :: 5 - Production/Stable'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
from distutils.core import setup
3+
from setuptools import setup
44
import os
55
import codecs
66

0 commit comments

Comments
 (0)