-
Notifications
You must be signed in to change notification settings - Fork 129
/
setup.py
40 lines (33 loc) · 1016 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
36
37
38
39
40
#!/usr/bin/env python
from os import path as op
from sys import version_info
from setuptools import setup, find_namespace_packages
from pyradio import version, __project__, __license__
def read(filename):
ret = ''
if op.exists(filename):
with open(op.join(op.dirname(__file__), filename)) as f:
ret = f.read()
return ret
meta = dict(
name=__project__,
version=version,
license=__license__,
description=read('DESCRIPTION').rstrip(),
platforms=('Any'),
author='Ben Dowling',
author_email='[email protected]',
url=' http://github.com/coderholic/pyradio',
include_package_data=True,
packages=find_namespace_packages(exclude=['devel', 'favicon']) + ['pyradio.__pycache__'],
entry_points={
'console_scripts': [
'pyradio = pyradio.main:shell',
'pyradio-client = pyradio.main:run_client'
]
},
install_requires=[],
test_suite = 'tests',
)
if __name__ == "__main__":
setup(**meta)