work on the release side

This commit is contained in:
Jerome Kieffer 2016-04-11 17:41:02 +02:00
parent 039d0e0cf3
commit 0f95307b2b
4 changed files with 364 additions and 55 deletions

View File

@ -65,15 +65,15 @@ This command may request your password to gain root-access::
If you prefer a local installation (only you will have access to the
installed version)::
python setup.py install --user
pip install . --upgrade --user
The newest development version can also be obtained by checking out from the git
repository.::
git clone https://github.com/pyFAI/pyFAI.git
git clone https://github.com/kif/pyFAI.git
cd pyFAI
python setup.py build bdist_wheel
sudo pip install .
sudo pip install . --upgrade
If you want pyFAI to make use of your graphic card, please install
`pyopencl <http://mathema.tician.de/software/pyopencl>`_
@ -98,7 +98,8 @@ Documentation can be build using this command and Sphinx (installed on your comp
Dependencies
------------
Python 2.6, 2.7, 3.2, 3.3, 3.4 and 3.5.
Python 2.7, 3.4 and 3.5 are well tested.
Python 2.6, 3.2 and 3.3 are no more supported since pyFAI 0.12
For full functionality of pyFAI the following modules need to be installed.
* numpy - http://www.numpy.org

File diff suppressed because one or more lines are too long

View File

@ -34,20 +34,8 @@ override_dh_install:
rm -rf debian/python3-pyfai-dbg/usr/bin
# remove all py/pyc/egg-info files from dbg packages
find debian/python-pyfai-dbg/usr -name "*.ui" -type f -delete
find debian/python-pyfai-dbg/usr -name "*.D" -type f -delete
find debian/python-pyfai-dbg/usr -name "*.cl" -type f -delete
find debian/python-pyfai-dbg/usr -name "*.py" -type f -delete
find debian/python-pyfai-dbg/usr -name "*.pyc" -type f -delete
find debian/python-pyfai-dbg/usr -path '*/*.egg-info/*' -delete
find debian/python-pyfai-dbg/usr -name "*.egg-info" -type d -empty -delete
find debian/python3-pyfai-dbg/usr -name "*.ui" -type f -delete
find debian/python3-pyfai-dbg/usr -name "*.D" -type f -delete
find debian/python3-pyfai-dbg/usr -name "*.cl" -type f -delete
find debian/python3-pyfai-dbg/usr -name "*.py" -type f -delete
find debian/python3-pyfai-dbg/usr -name "*.pyc" -type f -delete
find debian/python3-pyfai-dbg/usr -path '*/*.egg-info/*' -delete
find debian/python3-pyfai-dbg/usr -name "*.egg-info" -type d -empty -delete
find debian/python-pyfai-dbg/usr -type f \( -not -name "*.so" \) -delete
find debian/python3-pyfai-dbg/usr -type f \( -not -name "*.so" \) -delete
#Finally install stuff
dh_install

View File

@ -264,8 +264,8 @@ parser.add_argument("-v", "--verbose", default=0,
help="Increase verbosity")
default_test_name = "%s.test.suite" % PROJECT_NAME
parser.add_argument("test_name", nargs='*',
default=(default_test_name,),
help="Test names to run (Default: %s)" % default_test_name)
default=(default_test_name,),
help="Test names to run (Default: %s)" % default_test_name)
options = parser.parse_args()
sys.argv = [sys.argv[0]]