Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
MongoDBProxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
MongoDBProxy
Commits
9c2d7673
Commit
9c2d7673
authored
May 22, 2013
by
Jonathan Kamens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup.py for MongoDBProxy
parent
26c9333d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
setup.py
+36
-0
No files found.
setup.py
0 → 100644
View file @
9c2d7673
from
setuptools
import
setup
,
find_packages
LONG_DESCRIPTION
=
None
README_MARKDOWN
=
None
with
open
(
'README.md'
)
as
markdown_source
:
README_MARKDOWN
=
markdown_source
.
read
()
try
:
import
pandoc
pandoc
.
core
.
PANDOC_PATH
=
'pandoc'
# Converts the README.md file to ReST, since PyPI uses ReST for formatting,
# This allows to have one canonical README file, being the README.md
doc
=
pandoc
.
Document
()
doc
.
markdown
=
README_MARKDOWN
LONG_DESCRIPTION
=
doc
.
rst
except
ImportError
:
# If pandoc isn't installed, e.g. when downloading from pip,
# just use the regular README.
LONG_DESCRIPTION
=
README_MARKDOWN
setup
(
name
=
'MongoDBProxy'
,
py_modules
=
[
'mongodb_proxy'
],
# version='',
description
=
'Proxy around MongoDB connection that automatically handles AutoReconnect exceptions.'
,
# author='',
# author_email='',
long_description
=
LONG_DESCRIPTION
,
# license='',
# classifiers=[
# ],
setup_requires
=
[
'pyandoc'
],
install_requires
=
[
'pymongo'
],
url
=
"https://github.com/arngarden/MongoDBProxy"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment