FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-mysql-replication/setup.py at refactoring · PKUbuntu/python-mysql-replication · GitHub
PKUbuntu
/
python-mysql-replication
Public
forked from
julien-duponchelle/python-mysql-replication
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-mysql-replication
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
44 lines (34 loc) · 1.03 KB
Breadcrumbs
python-mysql-replication
/
setup.py
Copy path
File metadata and controls
44 lines (34 loc) · 1.03 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
try
:
from
setuptools
import
setup
,
Command
except
ImportError
:
from
distutils
.
core
import
setup
,
Command
import
sys
class
TestCommand
(
Command
):
user_options
=
[]
def
initialize_options
(
self
):
pass
def
finalize_options
(
self
):
pass
def
run
(
self
):
"""
Finds all the tests modules in tests/, and runs them.
"""
from
pymysqlreplication
import
tests
import
unittest
unittest
.
main
(
tests
,
argv
=
sys
.
argv
[:
1
])
version
=
"0.1.0"
setup
(
name
=
"mysql-replication"
,
version
=
version
,
url
=
"https://github.com/noplay/python-mysql-replication"
,
author
=
"Julien Duponchelle"
,
author_email
=
"julien@duponchelle.info"
,
description
=
(
"Pure Python Implementation of MySQL replication protocol"
"build on top of PyMYSQL."
),
license
=
"Apache 2"
,
packages
=
[
"pymysqlreplication"
,
"pymysqlreplication.constants"
,
"pymysqlreplication.tests"
],
cmdclass
=
{
"test"
:
TestCommand
},
install_requires
=
[
"pymysql"
],
)
Back
|
FazBrowse Home
|
New Git URL