Skip to content

Commit 3aaeac7

Browse files
Update metafiles
1 parent b2c3c60 commit 3aaeac7

File tree

6 files changed

+18
-98
lines changed

6 files changed

+18
-98
lines changed

Diff for: DESCRIPTION.rst

-8
This file was deleted.

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Appknox
3+
Copyright (c) 2015-2017 XYSec Labs
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: requirements.txt

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
click==4.1
2-
pkginfo==1.2.1
3-
pypandoc==1.0.1
4-
requests==2.7.0
5-
twine==1.5.0
6-
wheel==0.24.0
1+
click
2+
requests

Diff for: sample.py

-33
This file was deleted.

Diff for: scripts/deploy.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
#! /bin/bash
2-
#
3-
# deploy.sh
4-
# Copyright (C) 2015 dhilipsiva <[email protected]>
5-
#
6-
# Distributed under terms of the MIT license.
7-
#
1+
#!/bin/bash
82

3+
set -xeuo pipefail
94

105
rm -rf dist/
116
python setup.py sdist

Diff for: setup.py

+13-43
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,40 @@
1-
#! /usr/bin/env python
2-
# -*- coding: utf-8 -*-
3-
#
4-
# vim: fenc=utf-8
5-
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
6-
#
7-
#
1+
# (c) 2017, XYSec Labs
82

9-
"""
10-
Python wrapper for Appknox's REST API
11-
File name: setup.py
12-
Version: 0.1
13-
Author: dhilipsiva <[email protected]>
14-
Date created: 2015-08-07
15-
"""
16-
17-
from setuptools import setup, find_packages
18-
# from codecs import open
193
from os import path
4+
from pip.req import parse_requirements
5+
from setuptools import setup, find_packages
206

217
here = path.abspath(path.dirname(__file__))
228

23-
"""
24-
try:
25-
f = path.join(here, 'README.md')
26-
from pypandoc import convert
27-
long_description = convert(f, 'rst')
28-
except IOError:
29-
print("Cannot read Readme.md file")
30-
except ImportError:
31-
print(
32-
"pypandoc module not found, could not convert Markdown to RST")
33-
long_description = open(f, 'r').read()
34-
"""
9+
with open('requirements.txt') as f:
10+
install_requires = f.read().splitlines()
3511

3612
setup(
3713
name='appknox',
38-
version='1.4.0',
39-
description="Python wrapper for Appknox's REST API",
40-
long_description="Python wrapper for Appknox's REST API",
14+
version='2.0.0',
15+
description='Python wrapper for Appknox API',
16+
long_description='Python wrapper for Appknox API',
4117
url='https://github.com/appknox/appknox-python',
42-
author='dhilipsiva',
43-
author_email='dhilipsiva@gmail.com',
18+
author='Appknox',
19+
author_email='engineering@appknox.com',
4420
license='MIT',
4521
classifiers=[
46-
'Development Status :: 3 - Alpha',
22+
'Development Status :: 5 - Production/Stable',
4723
'Intended Audience :: Developers',
4824
'Topic :: Software Development :: Build Tools',
4925
'License :: OSI Approved :: MIT License',
50-
'Programming Language :: Python :: 2',
51-
'Programming Language :: Python :: 2.6',
52-
'Programming Language :: Python :: 2.7',
5326
'Programming Language :: Python :: 3',
5427
'Programming Language :: Python :: 3.5',
5528
],
5629

57-
keywords='appknox xysec rest api wrapper',
30+
keywords='appknox xysec rest api wrapper cli mobile security',
5831
packages=find_packages(),
5932
py_modules=['appknox'],
6033
entry_points='''
6134
[console_scripts]
6235
appknox=appknox.cli:cli
6336
''',
64-
install_requires=[
65-
'requests',
66-
'click',
67-
],
37+
install_requires=install_requires,
6838
extras_require={
6939
'dev': [''],
7040
'test': [''],

0 commit comments

Comments
 (0)