Explorar o código

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

Mike Naberezny %!s(int64=14) %!d(string=hai) anos
pai
achega
57d5475d62
Modificáronse 5 ficheiros con 8 adicións e 5 borrados
  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.
 - Fixed a bug in the web interface where pages over 64K would be truncated.
   Thanks to Drew Perttula and Timothy Jones for reporting this.
   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)
 3.0a10 (2011-03-30)
 -------------------
 -------------------
 
 

+ 1 - 1
MANIFEST.in

@@ -2,7 +2,7 @@ include CHANGES.txt
 include COPYRIGHT.txt
 include COPYRIGHT.txt
 include HISTORY.txt
 include HISTORY.txt
 include LICENSES.txt
 include LICENSES.txt
-include README.txt
+include README.rst
 include TODO.txt
 include TODO.txt
 recursive-include docs *
 recursive-include docs *
 prune docs/*.pyc
 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:
 try:
     here = os.path.abspath(os.path.dirname(__file__))
     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()
     CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
 except:
 except:
     README = """\
     README = """\
@@ -78,7 +78,7 @@ dist = setup(
     packages = find_packages(os.path.join(here, 'src')),
     packages = find_packages(os.path.join(here, 'src')),
     # put data files in egg 'doc' dir
     # put data files in egg 'doc' dir
     data_files=[ ('doc', [
     data_files=[ ('doc', [
-        'README.txt',
+        'README.rst',
         'CHANGES.txt',
         'CHANGES.txt',
         'TODO.txt',
         'TODO.txt',
         'LICENSES.txt',
         'LICENSES.txt',

+ 2 - 2
src/supervisor/options.py

@@ -1189,7 +1189,7 @@ class ServerOptions(Options):
                        'The current environment will only allow you '
                        'The current environment will only allow you '
                        'to open %(hard)s file descriptors.  Either raise '
                        'to open %(hard)s file descriptors.  Either raise '
                        'the number of usable file descriptors in your '
                        '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 '
                        'minfds setting in the config file to allow '
                        'the process to start.'),
                        'the process to start.'),
                 'min':self.minfds,
                 'min':self.minfds,
@@ -1205,7 +1205,7 @@ class ServerOptions(Options):
                        'The current environment will only allow you '
                        'The current environment will only allow you '
                        'to open %(hard)s processes.  Either raise '
                        'to open %(hard)s processes.  Either raise '
                        'the number of usable processes in your '
                        '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 '
                        'minprocs setting in the config file to allow '
                        'the program to start.'),
                        'the program to start.'),
                 'min':self.minprocs,
                 'min':self.minprocs,