-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.html
More file actions
389 lines (326 loc) · 11.7 KB
/
Copy pathsetup.html
File metadata and controls
389 lines (326 loc) · 11.7 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<!DOCTYPE html>
<!--
Generated using Markdown to HTML Converter by Chris Pyles.
More at https://github.com/chrispyles/markdown-to-html
-->
<html>
<head>
<title>page title</title>
<meta name="description" content="page description">
<meta name="author" content="page author">
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700&display=swap" rel="stylesheet"> -->
<!-- Boostrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<style type="text/css">
/* CSS for MD to HTML Converter
by Chris Pyles
body {
margin-top: -27px;
margin-left: 0;
background-color: #00b0da;
}
h1, h2, h3, h4, h5, h6 {
font-family: '=', sans-serif;
font-weight: 600;
}
h1, h2 {
letter-spacing: 1px;
}
h1 {
font-size: 30pt;
}
h2 {
font-size: 20pt;
}
h3 {
font-size: 14pt;
}
p, ul, th, td, ol {
font-family: '=', sans-serif;
font-size: 12pt;
}
p#header {
color: white;
padding-left: 235px;
}
ul.nav {
list-style-type: none;
padding-left: 15px;
}
li.nav {
padding-left: 20px;
width: 230px;
}
li.nav:hover {
background-color: rgba(256, 256, 256, 0.5);
}
th, td {
border-top: 1px solid black;
border-left: 1px solid black;
text-align: center;
padding: 5px 2px;
}
th {
font-weight: 600;
}
div {
width: 800px;
margin: 0 0 0 255px;
background-color: white;
padding: 0 20px;
margin-top: -27px;
}
div#top {
background-color: #46535e;
margin-top: 27px;
width: 100%;
height: 52px;
margin-left: 0;
position: fixed;
z-index: 1;
}
div#body {
position: absolute;
margin-top: 60px;
overflow: scroll;
}
table {
width: 75%;
margin: 0 auto;
border-right: 1px solid black;
border-bottom: 1px solid black;
border-spacing: 0;
table-layout: fixed;
}
table#header {
width: 100%;
height: auto;
border: none;
}
p.code {
width: 95%;
margin: 10px auto;
padding: 10px;
background-color: rgba(222, 222, 222, 0.5);
}
nav {
position: fixed;
width: 250px;
padding-left: 5px;
height: 100%;
background-color: #46535e;
color: white;
margin-top: 36px;
padding-top: 6px;
z-index: 2;
}
a.nav:link, a.nav:hover, a.nav:visited, a.nav:active {
color: white;
}
*/
/* Resize div for Pygments. */
div.highlight {
font-size: 12pt;
width: 98%;
margin: 10px auto;
padding: 10px;
background-color: #1d1e19;
color: #f6f7ee !important;
overflow: scroll;
border-radius: 5px;
}
pre {
margin: 0;
color: #f6f7ee !important;
}
.p {
color: #f6f7ee !important;
}
/* Below is imported the style from Pygments. */
.hll { background-color: #ffffcc }
.c { color: #fd8700; font-style: italic } /* Comment */
.g { color: #fd8700 } /* Generic */
.k { color: #53d1ed; font-weight: bold } /* Keyword */
.n { color: #f6f7ee } /* Name */
.o { color: #f7005f } /* Operator */
.ch { color: #fd8700; font-style: italic } /* Comment.Hashbang */
.cm { color: #fd8700; font-style: italic } /* Comment.Multiline */
.cp { color: #fd8700; font-style: italic } /* Comment.Preproc */
.cpf { color: #fd8700; font-style: italic } /* Comment.PreprocFile */
.c1 { color: #fd8700; font-style: italic } /* Comment.Single */
.cs { color: #fd8700; font-style: italic } /* Comment.Special */
.gd { color: #fd8700 } /* Generic.Deleted */
.ge { color: #fd8700 } /* Generic.Emph */
.gr { color: #fd8700 } /* Generic.Error */
.gh { color: #fd8700 } /* Generic.Heading */
.gi { color: #fd8700 } /* Generic.Inserted */
.go { color: #fd8700 } /* Generic.Output */
.gp { color: #fd8700 } /* Generic.Prompt */
.gs { color: #fd8700 } /* Generic.Strong */
.gu { color: #fd8700 } /* Generic.Subheading */
.gt { color: #fd8700 } /* Generic.Traceback */
.kc { color: #53d1ed; font-weight: bold } /* Keyword.Constant */
.kd { color: #53d1ed; font-weight: bold } /* Keyword.Declaration */
.kn { color: #53d1ed; font-weight: bold } /* Keyword.Namespace */
.kp { color: #53d1ed; font-weight: bold } /* Keyword.Pseudo */
.kr { color: #53d1ed; font-weight: bold } /* Keyword.Reserved */
.kt { color: #53d1ed; font-weight: bold } /* Keyword.Type */
.m { color: #9d60ff } /* Literal.Number */
.s { color: #e0d75a } /* Literal.String */
.na { color: #f6f7ee } /* Name.Attribute */
.nb { color: #f6f7ee } /* Name.Builtin */
.nc { color: #53d1ed; font-weight: bold } /* Name.Class */
.no { color: #f6f7ee } /* Name.Constant */
.nd { color: #f6f7ee } /* Name.Decorator */
.ni { color: #f6f7ee } /* Name.Entity */
.ne { color: #f6f7ee } /* Name.Exception */
.nf { color: #96e309 } /* Name.Function */
.nl { color: #f6f7ee } /* Name.Label */
.nn { color: #f6f7ee } /* Name.Namespace */
.nx { color: #f6f7ee } /* Name.Other */
.py { color: #f6f7ee } /* Name.Property */
.nt { color: #f6f7ee } /* Name.Tag */
.nv { color: #f6f7ee } /* Name.Variable */
.ow { color: #f7005f } /* Operator.Word */
.mb { color: #9d60ff } /* Literal.Number.Bin */
.mf { color: #9d60ff } /* Literal.Number.Float */
.mh { color: #9d60ff } /* Literal.Number.Hex */
.mi { color: #9d60ff } /* Literal.Number.Integer */
.mo { color: #9d60ff } /* Literal.Number.Oct */
.sa { color: #e0d75a } /* Literal.String.Affix */
.sb { color: #e0d75a } /* Literal.String.Backtick */
.sc { color: #e0d75a } /* Literal.String.Char */
.dl { color: #e0d75a } /* Literal.String.Delimiter */
.sd { color: #e0d75a } /* Literal.String.Doc */
.s2 { color: #e0d75a } /* Literal.String.Double */
.se { color: #e0d75a } /* Literal.String.Escape */
.sh { color: #e0d75a } /* Literal.String.Heredoc */
.si { color: #e0d75a } /* Literal.String.Interpol */
.sx { color: #e0d75a } /* Literal.String.Other */
.sr { color: #e0d75a } /* Literal.String.Regex */
.s1 { color: #e0d75a } /* Literal.String.Single */
.ss { color: #e0d75a } /* Literal.String.Symbol */
.bp { color: #f6f7ee } /* Name.Builtin.Pseudo */
.fm { color: #96e309 } /* Name.Function.Magic */
.vc { color: #f6f7ee } /* Name.Variable.Class */
.vg { color: #f6f7ee } /* Name.Variable.Global */
.vi { color: #f6f7ee } /* Name.Variable.Instance */
.vm { color: #f6f7ee } /* Name.Variable.Magic */
.il { color: #9d60ff } /* Literal.Number.Integer.Long */
</style>
</head>
<body><nav class="navbar navbar-expand-md navbar-light bg-light">
<a class="navbar-brand" href="#">navigation test menu title</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active"><a class="nav-link" href="HTML file path">Test Link</a></li>
</ul></div></nav>
<div class="container" id="body">
<<<<<<<< HEAD:pyedpro/pycommon/README.html
<h1>py Common</h1>
<h2>Common GUI routines (and classes) for python PyGobject (Gtk) development.</h2>
<p>Just a sampler of what is in there (pasted from code, in no particular order):</p>
<ul>
<li><p>class CairoHelper():
class TextTable(Gtk.Table):
class TextRow(Gtk.HBox):
class RadioGroup(Gtk.Frame):</p>
<ul>
<li>class Led(Gtk.DrawingArea):
class SeparatorMenuItem(Gtk.SeparatorMenuItem):
class Menu():
class MenuButt(Gtk.DrawingArea):
class Lights(Gtk.Frame):
*class WideButt(Gtk.Button):
class ScrollListBox(Gtk.Frame):
class TextRow(Gtk.HBox):
class RadioGroup(Gtk.Frame):</li>
<li>class Led(Gtk.DrawingArea):
class Lights(Gtk.Frame):
class FrameTextView(Gtk.TextView):
class Label(Gtk.Label):</li>
<li>class Logo(Gtk.VBox):
class xSpacer(Gtk.HBox):
class ScrollListBox(Gtk.Frame):
class ListBox(Gtk.TreeView):</li>
</ul>
<p>... and a lot more ...</p>
<p>These classes act as a simplification of the PyGtk (PyGobject) classes.</p>
<p>For instance the Label takes a constructor, and feeds the arguments as
one would expect. Like this:</p>
<pre><code>def __init__(self, textm = "", widget = None, tooltip=None, font = None):
</code></pre>
<p>The defaults are set to a reasonable value, and the named argument can be
set on one line. This makes the code look compact and maintainable.</p>
<p><p>See descendent projects for examples. (pyedpro; pycal; pggui; ...)</p></li>
</ul></p>
<p>Peter Glen</p>
========
<p>import setuptools</p>
<p>descx = '''PyEdPro is modern multi-platform editor. Simple, powerful,
configurable, extendable. Goodies like macro recording / playback, spell check,
column select, multiple clipboards, unlimited undo ...
PyEdPro.py has macro recording/play, search/replace, one click function navigation,
auto backup, undo/redo, auto complete, auto correct, syntax check, spell suggestion
... and a lot more.
The recorded macros, the undo / redo information the editing session details persist
after the editor is closed.
The spell checker can check code comments. The parsing of the code is
rudimentary, comments and strings are spell checked. (Press F9 or Shit-F9) The code is filtered
out for Python and 'C'. The spell checker is executed on live text. (while typing)
'''</p>
<p>classx = [
'Development Status :: Mature',
'Environment :: GUI',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Python Software Foundation License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Editors',
'Topic :: Software Development :: Editor',
]</p>
<p>inclu = ["*", "pedlib/", "panglib", "pyedpro.py", "pangview.py",]</p>
<p>with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()</p>
<p>setuptools.setup(
name="pyedpro",
version="2.1.0",
author="Peter Glen",
author<em>email="peterglen99@gmail.com",
description="High power editor in python.",
long</em>description=long<em>description,
long</em>description<em>content</em>type="text/markdown",
url="https://github.com/pglen/pyedpro",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],</p>
<pre><code>packages=setuptools.find_packages(include=inclu),
#packages=['pedlib', 'panglib', 'pycommon'],
#scripts = ['pyedpro.py', 'pangview.py'],
package_dir = {'pedlib': 'pyedpro/pedlib', 'panglib': 'pyedpro/panglib', 'pycommon': '../pycommon'},
package_data = {'pyedpro/pedlib': ['data/*', 'images/*']},
data_files = [('/usr/share/icons/hicolor/96x96/apps/', ['pyedpro/pedlib/images/pyedpro.png',
'pyedpro/pedlib/images/pedicon.png' ]),
('/usr/share/applications', ['pyedpro/pyedpro.desktop'])],
python_requires='>=3',
entry_points='''
[console_scripts]
pyedpro=pyedpro.pyedpro:mainstart
''',
</code></pre>
<p>)</p>
>>>>>>>> 2630c7acb3128e62ec8e6d272291c14da73cb66a:setup.html
</div></body>
</html>