Skip to content

Commit

Permalink
Update in setup.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
karulis committed Apr 5, 2015
1 parent 0fc30ea commit b82d1d3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
mods = []

def find_MS_SDK():
candidate_roots = (os.getenv('ProgramFiles'),
os.getenv('ProgramFiles(x86)'))
candidate_roots = (os.getenv('ProgramFiles'), os.getenv('ProgramW6432'),
os.getenv('ProgramFiles(x86)'))

if sys.version < '3.3':
MS_SDK = r'Microsoft SDKs\Windows\v6.0A' # Visual Studio 9
else:
Expand All @@ -20,6 +21,7 @@ def find_MS_SDK():
'Microsoft Platform SDK for Windows XP',
'Microsoft Platform SDK',
)

for candidate_root in candidate_roots:
for candidate_path in candidate_paths:
candidate_sdk = os.path.join(candidate_root, candidate_path)
Expand Down Expand Up @@ -86,7 +88,7 @@ def find_MS_SDK():
description = 'Bluetooth Python extension module',
author="Albert Huang",
author_email="[email protected]",
url="http://org.csail.mit.edu/pybluez",
url="http://karulis.github.io/pybluez/",
ext_modules = mods,
packages = [ "bluetooth" ],
# for the python cheese shop
Expand All @@ -96,11 +98,10 @@ def find_MS_SDK():
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications' ],
download_url = 'http://org.csail.mit.edu/pybluez/download.html',
download_url = 'https://github.com/karulis/pybluez',
long_description = 'Bluetooth Python extension module to allow Python "\
"developers to use system Bluetooth resources. PyBluez works "\
"with GNU/Linux and Windows XP.',
maintainer = 'Albert Huang',
maintainer_email = '[email protected]',
maintainer = 'Piotr Karulis',
license = 'GPL',
)

0 comments on commit b82d1d3

Please sign in to comment.