forked from OpenSIPS/opensips-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenSIPS#14 from Otoru/update-setup.py
Small changes to setup.py
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,18 @@ | |
""" | ||
|
||
import os | ||
|
||
try: | ||
from setuptools import setup, Command | ||
except ImportError: | ||
from distutils.core import setup, Command | ||
|
||
from opensipscli import defaults | ||
|
||
with open("README.md", "r") as fh: | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
with open(os.path.join(here, 'README.md'), encoding='utf-8') as fh: | ||
long_description = fh.read() | ||
|
||
class CleanCommand(Command): | ||
|
@@ -49,13 +54,19 @@ def run(self): | |
maintainer_email = "[email protected]", | ||
description = "OpenSIPS Command Line Interface", | ||
long_description = long_description, | ||
long_description_content_type='text/markdown', | ||
url = "https://github.com/OpenSIPS/opensips-cli", | ||
download_url = "https://github.com/OpenSIPS/opensips-cli/archive/master.zip", | ||
packages = [ | ||
"opensipscli", | ||
"opensipscli.modules", | ||
"opensipscli.communication" | ||
], | ||
install_requires=[ | ||
'mysqlclient', | ||
'sqlalchemy', | ||
'sqlalchemy-utils' | ||
], | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
|