forked from sbabcock23/pytryfi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.19 KB
/
setup.py
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
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
from pytryfi.const import PYTRYFI_VERSION
if sys.argv[-1] == 'compile':
os.system('python setup.py bdist_wheel')
sys.exit()
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
pkg = find_packages("pytryfi")
print(pkg)
setup(
name="pytryfi", # Replace with your own username
version=PYTRYFI_VERSION,
author="Steve Babcock",
author_email="[email protected]",
description="Python Interface for TryFi Dog Collars",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/sbabcock23/pytryfi",
packages={'pytryfi', 'pytryfi/common'},
include_package_data=True,
classifiers=[ "Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=[
'requests',
'sentry-sdk',
],
python_requires='>=3.6',
)