-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·33 lines (28 loc) · 998 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
import os
def check_requirements():
assert sys.version_info >= (3, 4), "Please use Python 3.4 or higher."
if os.name == "posix":
assert os.geteuid() == 0, "Please run with root privileges."
try:
check_requirements()
setup(
name = "icyparser",
packages = ["icyparser"],
version = "1.1.2",
description = "A script to download the ICY information for a stream and return it as a dict",
author = "Gijs Timmers",
author_email = "[email protected]",
url = "https://github.com/GijsTimmers/icyparser",
keywords = ["shoutcast", "icecast", "stream", "ICY"],
install_requires = [],
classifiers = [],
#entry_points = {
# "console_scripts": ["icyparser=icyparser:entry_point"]},
include_package_data = True
)
except AssertionError as e:
print(e)