electrum-bitcoinprivate/setup.py

43 lines
1.2 KiB
Python
Raw Normal View History

2011-11-16 02:53:18 -08:00
#!/usr/bin/python
2011-11-29 01:32:56 -08:00
# python setup.py sdist --format=zip,gztar
2011-11-16 02:53:18 -08:00
from distutils.core import setup
2012-05-10 05:38:49 -07:00
from lib.version import ELECTRUM_VERSION as version
2012-05-18 10:59:47 -07:00
import os
data_files=[
('/usr/share/applications/',['electrum.desktop']),
('/usr/share/app-install/icons/',['electrum.png'])
]
for lang in os.listdir('locale'):
if os.path.exists('locale/%s/LC_MESSAGES/electrum.mo'%lang):
data_files.append( ('/usr/share/locale/%s/LC_MESSAGES'%lang, ['locale/%s/LC_MESSAGES/electrum.mo'%lang]) )
2011-11-16 02:53:18 -08:00
setup(name = "Electrum",
2011-12-09 10:54:05 -08:00
version = version,
2012-05-10 06:37:49 -07:00
install_requires = ['slowaes','ecdsa'],
2012-05-10 05:38:49 -07:00
package_dir = {'electrum': 'lib'},
2012-05-10 08:37:29 -07:00
scripts= ['electrum'],
2012-05-18 10:59:47 -07:00
data_files = data_files,
py_modules = ['electrum.version',
'electrum.wallet',
'electrum.interface',
'electrum.gui',
'electrum.gui_qt',
'electrum.icons_rc',
'electrum.mnemonic',
'electrum.pyqrnative',
'electrum.bmp',
'electrum.i18n'],
2011-11-16 02:53:18 -08:00
description = "Lightweight Bitcoin Wallet",
author = "thomasv",
license = "GNU GPLv3",
url = "http://ecdsa/electrum",
long_description = """Lightweight Bitcoin Wallet"""
2012-05-10 05:38:49 -07:00
)
2012-05-18 09:03:13 -07:00