update setup and MANIFEST.in

This commit is contained in:
thomasv 2013-10-07 13:26:10 +02:00
parent 37888fc6a5
commit dfadb97f6a
3 changed files with 4 additions and 13 deletions

View file

@ -11,16 +11,7 @@ recursive-include aes *.py
include app.fil include app.fil
include icons.qrc include icons.qrc
recursive-include icons * recursive-include icons *
include scripts recursive-include scripts *
include scripts/blocks
include scripts/get_history
include scripts/merchant.conf.template
include scripts/merchant.py
include scripts/merchant.readme
include scripts/peers
include scripts/servers
include scripts/validate_tx
include scripts/watch_address
recursive-include data * recursive-include data *
recursive-include locale *.mo recursive-include locale *.mo
recursive-include docs * recursive-include docs *

View file

@ -25,7 +25,7 @@ if __name__ == '__main__':
shutil.copytree("aes",'dist/e4a-%s/aes'%version) shutil.copytree("aes",'dist/e4a-%s/aes'%version)
shutil.copytree("lib",'dist/e4a-%s/lib'%version) shutil.copytree("lib",'dist/e4a-%s/lib'%version)
os.mkdir('dist/e4a-%s/gui'%version) os.mkdir('dist/e4a-%s/gui'%version)
for n in ['gui_android.py', 'pyqrnative.py', 'bmp.py']: for n in ['android.py']:
shutil.copy("gui/%s"%n,'dist/e4a-%s/gui'%version) shutil.copy("gui/%s"%n,'dist/e4a-%s/gui'%version)
open('dist/e4a-%s/gui/__init__.py'%version,'w').close() open('dist/e4a-%s/gui/__init__.py'%version,'w').close()

View file

@ -2,7 +2,7 @@
# python setup.py sdist --format=zip,gztar # python setup.py sdist --format=zip,gztar
from distutils.core import setup from setuptools import setup
import os, sys, platform, imp import os, sys, platform, imp
version = imp.load_source('version', 'lib/version.py') version = imp.load_source('version', 'lib/version.py')
@ -49,7 +49,7 @@ data_files += [
setup(name = "Electrum", setup(name = "Electrum",
version = version.ELECTRUM_VERSION, version = version.ELECTRUM_VERSION,
install_requires = ['slowaes','ecdsa'], install_requires = ['slowaes','ecdsa>=0.9'],
package_dir = {'electrum': 'lib', 'electrum_gui': 'gui', 'electrum_plugins':'plugins'}, package_dir = {'electrum': 'lib', 'electrum_gui': 'gui', 'electrum_plugins':'plugins'},
scripts= ['electrum'], scripts= ['electrum'],
data_files = data_files, data_files = data_files,