Skip to content

Commit e672c5c

Browse files
francisco-dlpto266
authored andcommitted
Release 1.0.1 (hyperspy#1198)
* Update release_debian script to python3 * Update version to 1.0.1 * Update changes * Add samfire tests to setup.py * Automatic style corrections courtesy of autopep8
1 parent 60a50f7 commit e672c5c

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGES.txt

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ We only cover here the main highlights, for a detailed list of all the changes
55
see `the github commits changelog
66
<https://github.com/hyperspy/hyperspy/commits/master>`_.
77

8+
v1.0.1
9+
======
10+
11+
This is a maintenance release. Follow the following links for details on all
12+
the `bugs fixed
13+
<https://github.com/hyperspy/hyperspy/issues?q=label%3Abug+is%3Aclosed+milestone%3A1.0.1>`_.
14+
15+
816
v1.0
917
====
1018

hyperspy/Release.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# When running setup.py the "+dev" string will be replaced (if possible)
2626
# by the output of "git describe" if git is available or the git
2727
# hash if .git is present.
28-
version = "1.0"
28+
version = "1.0.1"
2929
description = "Multidimensional data analysis toolbox"
3030
license = 'GPL v3'
3131

release_debian

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/python
1+
#! /usr/bin/python3
22
# To produce a binary-only deb file
33
# Requires python-stdeb, debhelper, dpkg-dev and python-argparser
44

@@ -19,7 +19,7 @@ release_name = 'hyperspy-' + Release.version.replace('.dev', '~dev')
1919
# Delete the deb_dist folder to avoid an error if it contains
2020
# directories from a previous packaging
2121
os.system("rm -rf deb_dist")
22-
os.system('python setup.py --command-packages=stdeb.command bdist_deb')
22+
os.system('python3 setup.py --command-packages=stdeb.command bdist_deb')
2323

2424
if args.install is True:
2525
os.system('sudo gdebi %s' % glob('deb_dist/*.deb')[0])

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
'python-dateutil',
6363
'ipyparallel']
6464

65-
#the hack to deal with setuptools + installing the package in ReadTheDoc:
65+
# the hack to deal with setuptools + installing the package in ReadTheDoc:
6666
if 'readthedocs.org' in sys.executable:
6767
install_req = []
6868

@@ -306,6 +306,7 @@ def __exit__(self, type, value, traceback):
306306
'hyperspy.tests.io',
307307
'hyperspy.tests.model',
308308
'hyperspy.tests.mva',
309+
'hyperspy.tests.samfire',
309310
'hyperspy.tests.signal',
310311
'hyperspy.tests.utils',
311312
'hyperspy.tests.misc',

0 commit comments

Comments
 (0)