... | ... |
@@ -54,6 +54,9 @@ setup( |
54 | 54 |
'Topic :: Multimedia :: Graphics :: Viewers', |
55 | 55 |
], |
56 | 56 |
|
57 |
- # This is true, but doesn't work realiably |
|
58 |
- #install_requires=['gi', 'gi-cairo', 'numpy'], |
|
57 |
+ install_requires=[ |
|
58 |
+ # This is true, but doesn't work realiably |
|
59 |
+ #'PyGObject', |
|
60 |
+ 'numpy' |
|
61 |
+ ], |
|
59 | 62 |
) |
Fixes https://github.com/jrfonseca/xdot.py/issues/86
It's not used by xdot. Fixes #51.
... | ... |
@@ -3,12 +3,11 @@ |
3 | 3 |
# The purpose of this script is to enable uploading xdot.py to the Python |
4 | 4 |
# Package Index, which can be easily done by doing: |
5 | 5 |
# |
6 |
-# python setup.py register |
|
7 |
-# python setup.py sdist upload |
|
6 |
+# python3 setup.py sdist upload |
|
8 | 7 |
# |
9 | 8 |
# See also: |
10 |
-# - https://code.google.com/archive/p/jrfonseca/issues/19 |
|
11 |
-# - http://docs.python.org/2/distutils/packageindex.html |
|
9 |
+# - https://packaging.python.org/distributing/ |
|
10 |
+# - https://docs.python.org/3/distutils/packageindex.html |
|
12 | 11 |
# |
13 | 12 |
|
14 | 13 |
from setuptools import setup |
... | ... |
@@ -33,7 +33,7 @@ setup( |
33 | 33 |
license="LGPL", |
34 | 34 |
|
35 | 35 |
install_requires=['graphviz'], |
36 |
- packages=['xdot'], |
|
36 |
+ packages=['xdot', 'xdot/dot', 'xdot/ui'], |
|
37 | 37 |
entry_points=dict(gui_scripts=['xdot=xdot.__main__:main']), |
38 | 38 |
|
39 | 39 |
# https://pypi.python.org/pypi?%3Aaction=list_classifiers |
... | ... |
@@ -32,8 +32,9 @@ setup( |
32 | 32 |
""", |
33 | 33 |
license="LGPL", |
34 | 34 |
|
35 |
- py_modules=['xdot'], |
|
36 |
- entry_points=dict(gui_scripts=['xdot=xdot:main']), |
|
35 |
+ install_requires=['graphviz'], |
|
36 |
+ packages=['xdot'], |
|
37 |
+ entry_points=dict(gui_scripts=['xdot=xdot.__main__:main']), |
|
37 | 38 |
|
38 | 39 |
# https://pypi.python.org/pypi?%3Aaction=list_classifiers |
39 | 40 |
classifiers=[ |
https://github.com/jrfonseca/xdot.py/issues/31
... | ... |
@@ -55,6 +55,6 @@ setup( |
55 | 55 |
'Topic :: Multimedia :: Graphics :: Viewers', |
56 | 56 |
], |
57 | 57 |
|
58 |
- # This is true, but pointless, because easy_install PyGTK chokes and dies |
|
59 |
- #install_requires=['PyGTK', 'pycairo'], |
|
58 |
+ # This is true, but doesn't work realiably |
|
59 |
+ #install_requires=['gi', 'gi-cairo'], |
|
60 | 60 |
) |
Fixes https://github.com/jrfonseca/xdot.py/issues/31
... | ... |
@@ -35,6 +35,26 @@ setup( |
35 | 35 |
py_modules=['xdot'], |
36 | 36 |
entry_points=dict(gui_scripts=['xdot=xdot:main']), |
37 | 37 |
|
38 |
+ # https://pypi.python.org/pypi?%3Aaction=list_classifiers |
|
39 |
+ classifiers=[ |
|
40 |
+ 'Development Status :: 6 - Mature', |
|
41 |
+ |
|
42 |
+ 'Environment :: X11 Applications :: GTK', |
|
43 |
+ |
|
44 |
+ 'Intended Audience :: Information Technology', |
|
45 |
+ |
|
46 |
+ 'Operating System :: OS Independent', |
|
47 |
+ |
|
48 |
+ 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', |
|
49 |
+ |
|
50 |
+ 'Programming Language :: Python :: 3', |
|
51 |
+ 'Programming Language :: Python :: 3.4', |
|
52 |
+ 'Programming Language :: Python :: 3.5', |
|
53 |
+ 'Programming Language :: Python :: 3 :: Only', |
|
54 |
+ |
|
55 |
+ 'Topic :: Multimedia :: Graphics :: Viewers', |
|
56 |
+ ], |
|
57 |
+ |
|
38 | 58 |
# This is true, but pointless, because easy_install PyGTK chokes and dies |
39 | 59 |
#install_requires=['PyGTK', 'pycairo'], |
40 | 60 |
) |
Fixes https://github.com/jrfonseca/xdot.py/issues/24
Too late for 0.6, but at least next release will get it right.
... | ... |
@@ -18,7 +18,7 @@ setup( |
18 | 18 |
version='0.6', |
19 | 19 |
author='Jose Fonseca', |
20 | 20 |
author_email='jose.r.fonseca@gmail.com', |
21 |
- url='http://code.google.com/p/jrfonseca/wiki/XDot', |
|
21 |
+ url='https://github.com/jrfonseca/xdot.py', |
|
22 | 22 |
description="Interactive viewer for Graphviz dot files", |
23 | 23 |
long_description=""" |
24 | 24 |
xdot.py is an interactive viewer for graphs written in Graphviz's dot |
So I can easily find how next time I forget it.
... | ... |
@@ -1,4 +1,15 @@ |
1 | 1 |
#!/usr/bin/env python |
2 |
+# |
|
3 |
+# The purpose of this script is to enable uploading xdot.py to the Python |
|
4 |
+# Package Index, which can be easily done by doing: |
|
5 |
+# |
|
6 |
+# python setup.py register |
|
7 |
+# |
|
8 |
+# See also: |
|
9 |
+# - https://code.google.com/p/jrfonseca/issues/detail?id=19 |
|
10 |
+# - http://docs.python.org/2/distutils/packageindex.html |
|
11 |
+# |
|
12 |
+ |
|
2 | 13 |
from setuptools import setup |
3 | 14 |
|
4 | 15 |
setup( |
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,28 @@ |
1 |
+#!/usr/bin/env python |
|
2 |
+from setuptools import setup |
|
3 |
+ |
|
4 |
+setup( |
|
5 |
+ name='xdot', |
|
6 |
+ version='0.4', |
|
7 |
+ author='Jose Fonseca', |
|
8 |
+ author_email='jose.r.fonseca@gmail.com', |
|
9 |
+ url='http://code.google.com/p/jrfonseca/wiki/XDot', |
|
10 |
+ description="Interactive viewer for Graphviz dot files", |
|
11 |
+ long_description=""" |
|
12 |
+ xdot.py is an interactive viewer for graphs written in Graphviz's dot |
|
13 |
+ language. |
|
14 |
+ |
|
15 |
+ It uses internally the graphviz's xdot output format as an intermediate |
|
16 |
+ format, and PyGTK and Cairo for rendering. |
|
17 |
+ |
|
18 |
+ xdot.py can be used either as a standalone application from command |
|
19 |
+ line, or as a library embedded in your python application. |
|
20 |
+ """, |
|
21 |
+ license="LGPL", |
|
22 |
+ |
|
23 |
+ py_modules=['xdot'], |
|
24 |
+ entry_points=dict(gui_scripts=['xdot=xdot:main']), |
|
25 |
+ |
|
26 |
+ # This is true, but pointless, because easy_install PyGTK chokes and dies |
|
27 |
+ #install_requires=['PyGTK', 'pycairo'], |
|
28 |
+) |