Skip to content

Commit

Permalink
Put the executable into the bin folder
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Dec 8, 2011
1 parent 8b43e77 commit 56e500c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1 +1 @@
include COPYING NEWS.rst TODO.rst README.rst
include COPYING NEWS.rst TODO.rst README.rst cairosvg.py
25 changes: 25 additions & 0 deletions bin/cairosvg
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This file is part of CairoSVG
# Copyright © 2010-2011 Kozea
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with CairoSVG. If not, see <http://www.gnu.org/licenses/>.

"""
CairoSVG entry point.
"""

import cairosvg
cairosvg.main()
6 changes: 1 addition & 5 deletions setup.py
Expand Up @@ -36,11 +36,7 @@
platforms="Any",
packages=["cairosvg"],
provides=["cairosvg"],
entry_points={
'console_scripts': [
'cairosvg = cairosvg:main',
],
},
scripts=["bin/cairosvg"],
requires={"pycairo": ["pycairo>=1.8"]},
keywords=["svg", "cairo", "pdf", "png", "postscript"],
classifiers=[
Expand Down

0 comments on commit 56e500c

Please sign in to comment.