Browse Source

Rename README.txt to README.rst so GitHub renders it as ReStructuredText

Mike Naberezny 14 năm trước cách đây
mục cha
commit
57d5475d62
5 tập tin đã thay đổi với 8 bổ sung5 xóa
  1. 3 0
      CHANGES.txt
  2. 1 1
      MANIFEST.in
  3. 0 0
      README.rst
  4. 2 2
      setup.py
  5. 2 2
      src/supervisor/options.py

+ 3 - 0
CHANGES.txt

@@ -12,6 +12,9 @@ Next release
 - Fixed a bug in the web interface where pages over 64K would be truncated.
   Thanks to Drew Perttula and Timothy Jones for reporting this.
 
+- Renamed ``README.txt`` to ``README.rst`` so GitHub renders the file as
+  ReStructuredText.
+
 3.0a10 (2011-03-30)
 -------------------
 

+ 1 - 1
MANIFEST.in

@@ -2,7 +2,7 @@ include CHANGES.txt
 include COPYRIGHT.txt
 include HISTORY.txt
 include LICENSES.txt
-include README.txt
+include README.rst
 include TODO.txt
 recursive-include docs *
 prune docs/*.pyc

README.txt → README.rst


+ 2 - 2
setup.py

@@ -40,7 +40,7 @@ here = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
 
 try:
     here = os.path.abspath(os.path.dirname(__file__))
-    README = open(os.path.join(here, 'README.txt')).read()
+    README = open(os.path.join(here, 'README.rst')).read()
     CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
 except:
     README = """\
@@ -78,7 +78,7 @@ dist = setup(
     packages = find_packages(os.path.join(here, 'src')),
     # put data files in egg 'doc' dir
     data_files=[ ('doc', [
-        'README.txt',
+        'README.rst',
         'CHANGES.txt',
         'TODO.txt',
         'LICENSES.txt',

+ 2 - 2
src/supervisor/options.py

@@ -1189,7 +1189,7 @@ class ServerOptions(Options):
                        'The current environment will only allow you '
                        'to open %(hard)s file descriptors.  Either raise '
                        'the number of usable file descriptors in your '
-                       'environment (see README.txt) or lower the '
+                       'environment (see README.rst) or lower the '
                        'minfds setting in the config file to allow '
                        'the process to start.'),
                 'min':self.minfds,
@@ -1205,7 +1205,7 @@ class ServerOptions(Options):
                        'The current environment will only allow you '
                        'to open %(hard)s processes.  Either raise '
                        'the number of usable processes in your '
-                       'environment (see README.txt) or lower the '
+                       'environment (see README.rst) or lower the '
                        'minprocs setting in the config file to allow '
                        'the program to start.'),
                 'min':self.minprocs,