-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
43 lines (36 loc) · 1.22 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
42
43
import os
import sys
from setuptools import setup,find_packages
CURRENT_PYTHON = sys.version_info[:2]
REQUIRED_PYTHON = (3, 4)
# This check and everything above must remain compatible with Python 2.7.
if CURRENT_PYTHON < REQUIRED_PYTHON:
sys.stderr.write("""
==========================
Unsupported Python version
==========================
This version of Katari requires Python {}.{}, but you're trying to
install it on Python {}.{}.
""".format(*(REQUIRED_PYTHON + CURRENT_PYTHON)))
sys.exit(1)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "Katari",
version = "0.0.7",
author = "Aaron Parfitt",
author_email = "[email protected]",
description = ("A SIP(Session Initiation Protocol) Application Framework"),
license = "BSD",
keywords = "voip",
url = "http://packages.python.org/Katari",
packages=find_packages(),
long_description=read('README.md'),
long_description_content_type="text/markdown",
scripts=['scripts/katari'],
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
)