/relevation/branches/1.1/CHANGELOG |
---|
1,10 → 1,11 |
$Date$ |
1.1 (2011-07-05): |
- Support PyCryptoPlus if PyCrypto is not available. Enhances |
- Support cryptopy if PyCrypto is not available. Enhances |
cross-platform support. |
- Print an error message if the decryption produced wrong data |
(normally caused by a bad password) |
- Add PyCrypto/cryptopy to version info (--version) |
1.0 (2011-06-30): |
- First public release |
/relevation/branches/1.1/Makefile |
---|
17,7 → 17,7 |
-$(RM) *.pyc *.pyo manpage.html manpage.pdf |
distclean: clean |
-$(RM) $(PKGVER).tar.gz $(PKGVER).zip python-cryptoplus.zip |
-$(RM) $(PKGVER).tar.gz $(PKGVER).zip |
install: |
install -D -m755 $(PKG).py $(DESTDIR)$(prefix)/bin/$(PKG) |
37,8 → 37,7 |
man -t ./$(PKG).1 | ps2pdf14 - > $@ |
TAR_EXCLUDES=--exclude-vcs --exclude=$(PKGVER) \ |
--exclude=*.swp --exclude=*.pyo --exclude=*.pyc \ |
--exclude=python-cryptoplus |
--exclude=*.swp --exclude=*.pyo --exclude=*.pyc |
is_release: |
# Only allowed if RELEASE |
55,6 → 54,5 |
zip: is_release distclean manpage.pdf manpage.html package_copy |
zip -9 -r $(PKGVER).zip $(PKGVER) |
zip -9 -r --exclude .svn python-cryptoplus.zip python-cryptoplus/ |
-$(RM) -r $(PKGVER) |
/relevation/branches/1.1/relevation.py |
---|
295,6 → 295,12 |
release=' [DEBUG]' |
print 'Relevation version %s%s' % ( __version__, release ) |
print 'Python version %s' % sys.version |
if USE_PYCRYPTO: |
import Crypto |
print 'PyCrypto version %s' % Crypto.__version__ |
else: |
# AFAIK cryptopy doesn't export version info |
print 'cryptopy' |
sys.exit(os.EX_OK) |
for opt, arg in ops: |