FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-client/setup.py at master · dronedeploy/python-client · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on May 5, 2022. It is now read-only.
dronedeploy
/
python-client
Public archive
forked from
launchdarkly/python-server-sdk
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-client
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
57 lines (47 loc) · 1.59 KB
Breadcrumbs
python-client
/
setup.py
Copy path
File metadata and controls
57 lines (47 loc) · 1.59 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
try
:
from
setuptools
import
setup
,
Command
except
ImportError
:
from
distutils
.
core
import
setup
import
uuid
from
pip
.
req
import
parse_requirements
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs
=
parse_requirements
(
'requirements.txt'
,
session
=
uuid
.
uuid1
())
test_reqs
=
parse_requirements
(
'test-requirements.txt'
,
session
=
uuid
.
uuid1
())
redis_reqs
=
parse_requirements
(
'redis-requirements.txt'
,
session
=
uuid
.
uuid1
())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs
=
[
str
(
ir
.
req
)
for
ir
in
install_reqs
]
testreqs
=
[
str
(
ir
.
req
)
for
ir
in
test_reqs
]
redisreqs
=
[
str
(
ir
.
req
)
for
ir
in
redis_reqs
]
class
PyTest
(
Command
):
user_options
=
[]
def
initialize_options
(
self
):
pass
def
finalize_options
(
self
):
pass
def
run
(
self
):
import
sys
import
subprocess
errno
=
subprocess
.
call
([
sys
.
executable
,
'runtests.py'
])
raise
SystemExit
(
errno
)
setup
(
name
=
'ldclient-py'
,
version
=
'2.0.0-beta3'
,
author
=
'Catamorphic Co.'
,
author_email
=
'team@catamorphic.com'
,
packages
=
[
'ldclient'
],
url
=
'https://github.com/launchdarkly/python-client'
,
description
=
'LaunchDarkly SDK for Python'
,
long_description
=
'LaunchDarkly SDK for Python'
,
install_requires
=
reqs
,
classifiers
=
[
'License :: OSI Approved :: Apache Software License'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python :: 2 :: Only'
,
],
extras_require
=
{
"redis"
:
redisreqs
},
tests_require
=
testreqs
,
cmdclass
=
{
'test'
:
PyTest
},
)
Back
|
FazBrowse Home
|
New Git URL