-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
43 lines (39 loc) · 1.06 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
from __future__ import print_function
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
import browler
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='browler',
version=browler.__version__,
tests_require=['pytest'],
cmdclass={'test': PyTest},
packages=['browler'],
url='https://github.com/brady-vitrano/browler',
install_requires=[
'redis==2.10.3',
'splinter==0.7.0'
],
platforms=['any'],
license='MIT',
author='brady-vitrano',
author_email='[email protected]',
description='Selenium Based Web Crawler',
include_package_data=True,
extras_require={
'testing': ['pytest'],
},
#entry_points={
# 'console_scripts': ['crawler=crawler.command_line:main'],
#},
zip_safe=False
)