Changeset 783
- Timestamp:
- Jan 26, 2016, 6:56:08 AM (3 years ago)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.x/MANIFEST.in
r757 r783 1 include *.c 2 include *.h 3 include *.py 4 include *.cfg 5 include *.rst 6 include *.txt 1 2 include pgmodule.c 3 include pgtypes.h 4 include pgfs.h 5 6 include pg.py 7 include pgdb.py 8 include setup.py 9 10 include setup.cfg 11 12 include README.rst 13 include LICENSE.txt 14 7 15 recursive-include tests *.py 16 8 17 include docs/Makefile 9 18 include docs/make.bat -
branches/4.x/docs/community/source.rst
r695 r783 5 5 source code repository for PyGreSQL. 6 6 7 The repository can be checked out with the command::7 The current trunk of the repository can be checked out with the command:: 8 8 9 svn co svn://svn.pygresql.org/pygresql 9 svn co svn://svn.pygresql.org/pygresql/trunk 10 10 11 11 You can also browse through the repository using the -
branches/4.x/mktar
r777 r783 4 4 DISTDIR=/u/pyg/files 5 5 6 # small safety tests 7 if [ ! -f pgmodule.c ] 6 # some safety tests 7 if [ ! -d $DISTDIR ] 8 then 9 echo "Hmmm. Are you sure you are on the right server?" 10 exit 1 11 fi 12 if [ ! -f setup.py -o ! -f pgmodule.c -o ! -d tests -o ! -d docs ] 8 13 then 9 14 echo "Hmmm. Are you sure you are in the right directory?" 10 15 exit 1 11 16 fi 12 if [ ! -d $DISTDIR ] 17 FILES="*.c *.h *.py *.cfg *.rst *.txt" 18 NUMFILES=`ls $FILES | wc -l` 19 if [ "$NUMFILES" != "9" ] 13 20 then 14 echo "Hmmm. Are you sure you are on the right server?" 15 exit 1 21 echo "Hmmm. The number of top-level files seems to be wrong:" 22 ls $FILES 23 echo "Maybe you should do a clean checkout first." 24 echo "If something has changed, edit MANIFEST.in and mktar." 25 exit 1 26 fi 27 FILES="mktar mkdocs docs tests pg.py pgdb.py pgmodule.c setup.cfg" 28 PERMS=`stat --printf="%a" $FILES` 29 if [ $? -ne 0 -o "$PERMS" != '755755755755644644644644' ] 30 then 31 echo "Hmmm. File permissions are not set properly." 32 echo "Use a filesystem with permissions and do a clean checkout first." 33 exit 1 16 34 fi 17 35 … … 29 47 30 48 echo "Making source tarball..." 49 echo 50 51 umask 0022 31 52 32 53 # Make sure that the documentation has been built. 33 54 34 ./mkdocs 55 if ! ./mkdocs 56 then 57 echo "Hmmm. The documentation could not be built." 58 exit 1 59 fi 35 60 36 61 # Package as source distribution. … … 38 63 rm -rf build dist 39 64 40 python setup.py sdist 65 if ! python2 setup.py sdist 66 then 67 echo "Hmmm. The source distribution could not be created." 68 exit 1 69 fi 41 70 42 71 DF=`ls dist` 72 if [ $? -ne 0 -o -z "$DF" ] 73 then 74 echo "Hmmm. The source distribution could not be found." 75 exit 1 76 fi 77 43 78 TF=$DISTDIR/$DF 44 79 45 cp dist/$DF $TF 80 if ! cp dist/$DF $TF 81 then 82 echo "Hmmm. The source distribution could not be copied." 83 exit 1 84 fi 85 46 86 chmod 644 $TF 47 87 … … 49 89 ln -s $DF $DISTDIR/$SYMLINK 50 90 91 echo 51 92 echo "$TF has been built." -
trunk/MANIFEST.in
r757 r783 1 include *.c 2 include *.h 3 include *.py 4 include *.cfg 5 include *.rst 6 include *.txt 1 2 include pgmodule.c 3 include pgtypes.h 4 include py3c.h 5 6 include pg.py 7 include pgdb.py 8 include setup.py 9 10 include setup.cfg 11 12 include README.rst 13 include LICENSE.txt 14 7 15 recursive-include tests *.py 16 8 17 include docs/Makefile 9 18 include docs/make.bat -
trunk/docs/community/source.rst
r710 r783 5 5 source code repository for PyGreSQL. 6 6 7 The repository can be checked out with the command::7 The current trunk of the repository can be checked out with the command:: 8 8 9 svn co svn://svn.pygresql.org/pygresql 9 svn co svn://svn.pygresql.org/pygresql/trunk 10 10 11 11 You can also browse through the repository using the -
trunk/mktar
r777 r783 4 4 DISTDIR=/u/pyg/files 5 5 6 # small safety tests 7 if [ ! -f pgmodule.c ] 6 # some safety tests 7 if [ ! -d $DISTDIR ] 8 then 9 echo "Hmmm. Are you sure you are on the right server?" 10 exit 1 11 fi 12 if [ ! -f setup.py -o ! -f pgmodule.c -o ! -d tests -o ! -d docs ] 8 13 then 9 14 echo "Hmmm. Are you sure you are in the right directory?" 10 15 exit 1 11 16 fi 12 if [ ! -d $DISTDIR ] 17 FILES="*.c *.h *.py *.cfg *.rst *.txt" 18 NUMFILES=`ls $FILES | wc -l` 19 if [ "$NUMFILES" != "9" ] 13 20 then 14 echo "Hmmm. Are you sure you are on the right server?" 15 exit 1 21 echo "Hmmm. The number of top-level files seems to be wrong:" 22 ls $FILES 23 echo "Maybe you should do a clean checkout first." 24 echo "If something has changed, edit MANIFEST.in and mktar." 25 exit 1 26 fi 27 FILES="mktar mkdocs docs tests pg.py pgdb.py pgmodule.c setup.cfg" 28 PERMS=`stat --printf="%a" $FILES` 29 if [ $? -ne 0 -o "$PERMS" != '755755755755644644644644' ] 30 then 31 echo "Hmmm. File permissions are not set properly." 32 echo "Use a filesystem with permissions and do a clean checkout first." 33 exit 1 16 34 fi 17 35 … … 29 47 30 48 echo "Making source tarball..." 49 echo 50 51 umask 0022 31 52 32 53 # Make sure that the documentation has been built. 33 54 34 ./mkdocs 55 if ! ./mkdocs 56 then 57 echo "Hmmm. The documentation could not be built." 58 exit 1 59 fi 35 60 36 61 # Package as source distribution. … … 38 63 rm -rf build dist 39 64 40 python setup.py sdist 65 if ! python3 setup.py sdist 66 then 67 echo "Hmmm. The source distribution could not be created." 68 exit 1 69 fi 41 70 42 71 DF=`ls dist` 72 if [ $? -ne 0 -o -z "$DF" ] 73 then 74 echo "Hmmm. The source distribution could not be found." 75 exit 1 76 fi 77 43 78 TF=$DISTDIR/$DF 44 79 45 cp dist/$DF $TF 80 if ! cp dist/$DF $TF 81 then 82 echo "Hmmm. The source distribution could not be copied." 83 exit 1 84 fi 85 46 86 chmod 644 $TF 47 87 … … 49 89 ln -s $DF $DISTDIR/$SYMLINK 50 90 91 echo 51 92 echo "$TF has been built."
Note: See TracChangeset
for help on using the changeset viewer.