forked from pybluez/pybluez
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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) | ||
|
@@ -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 | ||
|
@@ -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', | ||
) |