Skip to content

Commit 38da1b0

Browse files
Issue #32: Create proper pip package.
1 parent b463737 commit 38da1b0

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
init:
22
pip install -r requirements.txt
3+
4+
upload:
5+
python setup.py sdist
6+
python setup.py bdist_wheel --universal
7+
twine upload dist/*
8+
9+
clean:
10+
rm -rf dist/
11+
rm -rf build/
12+
rm -rf arlo.egg-info
13+

__init__.py

Whitespace-only changes.

setup.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[bdist_wheel]
2+
universal=1
3+
4+
[metadata]
5+
description-file = README.md

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
setup(
66
name='arlo',
7-
packages=[],
7+
py_modules=['Arlo'],
88
version='1.0.0',
99
description='Python Arlo is a library written in Python 2.7/3x ' +
1010
'which exposes the Netgear Arlo cameras via the apis that are consumed by their website.',
1111
author='Jeffrey D. Walter',
1212
author_email='[email protected]',
1313
url='https://github.com/jeffreydwalter/arlo',
14-
license=license,
14+
license='Apache Software License',
1515
include_package_data=True,
16-
install_requires=['monotonic', 'requests', 'sseclient'],
16+
install_requires=['monotonic', 'requests', 'sseclient', 'PySocks'],
1717
keywords=[
1818
'arlo',
1919
'camera',
@@ -22,10 +22,10 @@
2222
'python',
2323
],
2424
classifiers=[
25+
'Development Status :: 5 - Production/Stable',
2526
'Environment :: Other Environment',
2627
'Intended Audience :: Developers',
27-
'License :: OSI Approved :: ' +
28-
'Apache License 2.0',
28+
'License :: OSI Approved :: Apache Software License',
2929
'Operating System :: OS Independent',
3030
'Programming Language :: Python',
3131
'Programming Language :: Python :: 2.7',

0 commit comments

Comments
 (0)