~vomun-developers/anonplus/vomun-trunk

« back to all changes in this revision

Viewing changes to src/setup.py

  • Committer: AJ00200
  • Date: 2011-11-25 20:47:13 UTC
  • Revision ID: git-v1:aafa60861564423d56571a2d573eeabf1967afbe
Minor PEP8 fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        Get it for Linux at https://www.dlitz.net/software/pycrypto/
18
18
        Get it for Windows at http://www.voidspace.org.uk/python/modules.shtml#pycrypto
19
19
    ''')
20
 
 
 
20
    
21
21
# Check PyCrpyto version basics - require v2.1.x or higher
22
22
if Crypto.version_info[0] < 2 or Crypto.version_info[1] < 1:
23
23
    raise libs.errors.DependancyError(
27
27
# Find local variables
28
28
print('[*] Preparing for setup...')
29
29
HOME = os.path.expanduser('~')
30
 
VOMUN_PATH = os.path.join(HOME, '.vomun', '')
 
30
VOMUN_PATH = os.path.join(HOME, '.vomun')
31
31
KEYS_PATH = os.path.join(VOMUN_PATH, 'keys.json')
32
32
CONFIG_PATH = os.path.join(VOMUN_PATH, 'config.json')
33
33
 
123
123
        friendlistr = open(friendlistpath, "w")
124
124
        friendlistr.write('[]')
125
125
        friendlistr.close()
126
 
 
 
126
        
127
127
## Setup complete
128
128
print(' == Setup Complete ==')
129
129
print('''