Skip to content

Commit fbce4fa

Browse files
committed
Add MIT license and setup file
1 parent d0231d5 commit fbce4fa

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Chris Braun
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Selenium-Requests
1+
Selenium Requests
22
=================
33

44
Extends Selenium WebDriver classes to include the [request](http://docs.python-requests.org/en/latest/api/#requests.request) function from the [Requests](http://python-requests.org/) library, while doing all the needed cookie and request headers handling.

setup.py

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
from setuptools import setup
2+
3+
try:
4+
import pypandoc
5+
except ImportError:
6+
pypandoc = None
7+
8+
9+
if pypandoc:
10+
long_description = pypandoc.convert('README.md', 'rst')
11+
else:
12+
with open('README.md') as file:
13+
long_description = file.read()
14+
15+
16+
setup(
17+
name='selenium-requests',
18+
version='1.0.0',
19+
description='Extends Selenium WebDriver classes to include the request function from the Requests library, while doing all the needed cookie and request headers handling.',
20+
long_description=long_description,
21+
author='Chris Braun',
22+
author_email='[email protected]',
23+
url='https://github.com/cryzed/Selenium-Requests',
24+
packages=('seleniumrequests',),
25+
install_requires=(
26+
'requests',
27+
'selenium',
28+
'six'
29+
),
30+
license='MIT'
31+
)

0 commit comments

Comments
 (0)