Commit d7bfaf45 authored by Jérôme Ortais's avatar Jérôme Ortais
Browse files

Modification de setup.py pour qu'il prenne en compte la version de

Pyromaths du dossier, et non pas celle installée sur le système.
parent 69e5d59f
......@@ -5,7 +5,7 @@
### CONFIG
#
# Pyromaths version
VERSION ?= 13.03
VERSION ?= 14.05
# Archive format(s) produced by 'make src' (bztar,gztar,zip...)
FORMATS ?= bztar,zip
# Verbosity and logging
......@@ -117,6 +117,8 @@ clean:
# Clean
rm -r $(BUILD)/* || mkdir -p $(BUILD)
rm -r $(DIST)/* || mkdir -p $(DIST)
rmdir $(BUILD)
rmdir $(DIST)
$(clean)
version:
......
Version 14.05
* Construction et packaging:
** Factorisation des setup.py en un seul, commun à toutes les plateformes
** Utilisation de Make pour tout ce qui déborde du périmètre de setup.py (traductions, optimisations...)
......
pyromaths (14.05-1) quantal; urgency=low
* À compléter
-- Jérôme Ortais <jerome.ortais@pyromaths.org> Mon, 11 Mar 2013 21:10:00 +0100
pyromaths (13.03-1) quantal; urgency=low
* Correction d'un bug d'affichage des pdf
......
......@@ -33,12 +33,16 @@ Created on 13 avr. 2013
import os
import sys
from glob import glob
from os.path import dirname, normpath, join, abspath, realpath
from setuptools import setup, find_packages
# Import pyromaths VERSION from source
sys.path.append('src')
_path = normpath(join(abspath(dirname(__file__)), "./src"))
sys.path[0] = realpath(_path)
#sys.path.append('src')
from pyromaths.Values import VERSION
print VERSION
def _unix_opt():
'''UNIX/Linux: generate Python eggs and RPM packages.'''
......@@ -76,15 +80,15 @@ def _mac_opt():
'QtMultimedia', 'QtNetwork', 'QtOpenGL', 'QtScript',
'QtScriptTools', 'QtSql', 'QtSvg', 'QtTest', 'QtWebKit',
'QtXml', 'QtXmlPatterns', 'phonon']
lib_dynload_unused = ['_AE', '_codecs_cn', '_codecs_hk', '_codecs_2022',
'_codecs_iso2022', '_codecs_jp', '_codecs_kr',
'_codecs_tw', '_Evt', '_File', '_hashlib', '_heapq',
lib_dynload_unused = ['_AE', '_codecs_cn', '_codecs_hk', '_codecs_2022',
'_codecs_iso2022', '_codecs_jp', '_codecs_kr',
'_codecs_tw', '_Evt', '_File', '_hashlib', '_heapq',
'_locale', '_multibytecodec', '_Res','_ssl', 'array',
'bz2', 'cPickle', 'datetime', 'gestalt', 'MacOS',
'pyexpat', 'rurce', 'strop', 'unicodedata']
site_packages_unused = ['_osx_support', '_builtinSuites', 'Carbon',
site_packages_unused = ['_osx_support', '_builtinSuites', 'Carbon',
'distutils', 'Finder', 'StdSuites', 'unittest',
'xml', 'StringIO', 'getopt', 'repr','_strptime',
'xml', 'StringIO', 'getopt', 'repr','_strptime',
'gettext', 'sets', '_threading_local', 'glob',
'base64', 'locale', 'sre', 'bdb', 'optparse.',
'ssl', 'calendar', 'pdb', 'stringprep', 'cmd',
......
......@@ -62,7 +62,7 @@ else:
def configdir():
return join(home(), ".config", "pyromaths")
VERSION = '13.03'
VERSION = '14.05'
COPYRIGHT_YEAR = strftime('%Y')
COPYRIGHTS = u'© 2006 – %s Jérôme Ortais<br/>\n' \
u'<span style=" font-size:small;">Pyromaths est distribué sous ' \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment