forked from forksociety/PyBeacon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (42 loc) · 1.82 KB
/
setup.py
File metadata and controls
55 lines (42 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import re
from setuptools import setup
with open('PyBeacon/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name = 'PyBeacon',
version = version,
packages = ['PyBeacon'],
entry_points = {
"console_scripts": ['PyBeacon = PyBeacon.PyBeacon:main']
},
description = 'Python script for scanning and advertising urls over Eddystone-URL.',
long_description = 'Python script for scanning and advertising urls over Eddystone-URL.',
url = 'https://github.com/nirmankarta/PyBeacon',
download_url = 'https://github.com/nirmankarta/PyBeacon/archive/master.zip',
author = 'Nirmankarta',
author_email = 'we@nirmankarta.com',
license = 'Apache License 2.0',
keywords = ['Eddystone', 'Eddystone URL', 'Beacon', 'Raspberry Pi'],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)