-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (37 loc) · 1.33 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.33 KB
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
from setuptools import setup
from pip.req import parse_requirements
from pip.download import PipSession
links = []
requires = []
requirements = parse_requirements('requirements.txt', session=PipSession())
for item in requirements:
# we want to handle package names and also repo urls
if getattr(item, 'url', None): # older pip has url
links.append(str(item.url))
if getattr(item, 'link', None): # newer pip has link
links.append(str(item.link))
if item.req:
requires.append(str(item.req))
setup(name='seleniumai',
description='An openAI environment that uses Selenium to create web automation agents',
version='0.0.6',
url='https://github.com/bewestphal/SeleniumAI',
author='Brian Westphal',
author_email='coding@brianwestphal.com',
license='MIT',
download_url='https://codeload.github.com/bewestphal/SeleniumAI/0.0.6.tar.gz',
keywords=[
'selenium',
'artificial intelligence',
'openai',
'environment'
],
packages = ['package'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
dependency_links=links,
install_requires=requires)