-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·33 lines (29 loc) · 1.09 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
#!/usr/bin/env python
from setuptools import setup
import os, glob
requirements = [i for i in open('requirements.txt').read().split('\n') if not i.startswith('--') and len(i) > 0]
def get_long_description(fname):
try:
import pypandoc
return pypandoc.convert(fname, 'rst')
except:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='pygpio',
version='0.3.3',
description="An abstract interface for GPIO libraries",
long_description=get_long_description('README.md'),
author='Gwilyn Saunders',
author_email='gwilyn.saunders@mk2es.com.au',
url='https://git.mk2es.com/gwillz/pygpio',
packages=['pygpio', 'pygpio.backends'],
install_requires=requirements,
classifiers=[
'Operating System :: POSIX',
'Operating System :: POSIX :: BSD',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
]
)