Skip to content

Commit 1d95413

Browse files
committed
Fix machine code, close #8
1 parent e222e3e commit 1d95413

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

licensing/methods.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77

88
import platform
9+
import uuid
910
import sys
1011
from licensing.internal import HelperMethods
1112
from licensing.models import *
@@ -72,6 +73,7 @@ def GetMachineCode():
7273
res.append(platform.processor())
7374
res.append(platform.system())
7475
res.append(platform.architecture()[1])
76+
res.append(str(uuid.getnode()))
7577
# safer than using architecture()[0]
7678
# see https://docs.python.org/3/library/platform.html#platform.architecture
7779
res.append(str(sys.maxsize > 2**32))

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
setup(
33
name = 'licensing', # How you named your package folder (MyLib)
44
packages = ['licensing'], # Chose the same as "name"
5-
version = '0.5', # Start with a small number and increase it with every change you make
5+
version = '0.6', # Start with a small number and increase it with every change you make
66
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
77
description = 'Client library for Cryptolens licensing Web API.', # Give a short description about your library
88
author = 'Cryptolens AB', # Type in your name
99
author_email = '[email protected]', # Type in your E-Mail
1010
url = 'https://cryptolens.io', # Provide either the link to your github or to your website
11-
download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_05.tar.gz', # I explain this later on
11+
download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_06.tar.gz', # I explain this later on
1212
keywords = ['software licensing', 'licensing library', 'cryptolens'], # Keywords that define your package best
1313
install_requires=[ # I get to this in a second
1414
'pycrypto'

0 commit comments

Comments
 (0)