-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
35 lines (30 loc) · 969 Bytes
/
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
# -*- coding: utf-8 -*-
# Copyright (c) 2015-2016 Mark Spicer
# Made available under the MIT license.
import os
from setuptools import setup
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()
# import version number
version = {}
with open("./freshroastsr700/version.py") as fp:
exec(fp.read(), version)
# later on we use: version['__version__']
setup(
name='freshroastsr700',
version=version['__version__'],
description='A Python module to control a FreshRoastSR700 coffee roaster.',
long_description=long_description,
url='https://github.com/Roastero/freshroastsr700',
author='Mark Spicer, Caleb Coffee',
author_email='[email protected]',
maintainer='Mark Spicer',
maintainer_email='[email protected]',
license='MIT',
packages=find_packages(),
install_requires=[
'pyserial>=3.0.1'
]
)