GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Adds doc files to setup.py. · nanangarsyad/java2python@be556d5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • setup.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"""
1212

1313
from distutils.core import setup
14+
from os import path, listdir
1415

1516

1617
classifiers = """
@@ -31,6 +32,10 @@
3132
long_description = '\n'.join(__doc__.split('\n')[4:])
3233

3334

35+
def doc_files():
36+
return [path.join('doc', name) for name in listdir('doc')]
37+
38+
3439
setup(
3540
name='java2python',
3641
version='0.5.0',
@@ -71,6 +76,10 @@
7176
'bin/j2py',
7277
],
7378

79+
data_files=[
80+
('doc', doc_files()),
81+
],
82+
7483
install_requires=['antlr_python_runtime==3.1.3'],
7584

7685
)

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.