Changeset 711 for trunk/mktar


Ignore:
Timestamp:
Jan 11, 2016, 3:45:05 AM (4 years ago)
Author:
cito
Message:

Flatten the directory structure of the project

Simplified the directory structure by flattening the "module" subdirectory out
to the root directory. That way, the setup.py script can now also access the
top-level docs subdirectory, so it could also install or build the docs.
There was nothing else in the root directory anyway, except the mkdocs and
mktar scripts which could be made unnecessary through setup.py.

Also made the setup script a bit clearer. Removed the note about MinGW for
Windows since the Microsoft compiler for Python 2.7 and Visual Studio Community
are now freely available including 64bit compilers, and produce less problems.

Note that the usual structure would have been to use a "pygresql" package
directory instead of the "module" directory. But since we install PyGreSQL
as two top-level modules "pg" and "pgdb" instead of a package "pygresql",
the flattened structure reflects that much better. For historical reasons
and people don't want to rewrite import statements, we will keep it that way.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
         1*.egg-info
        12.idea
         3.tox
         4.vagrant
        25BETA
         6build
         7dist
  • trunk/mktar

    r710 r711  
    3333TF=$DISTDIR/$TD.tgz
    3434
    35 MODFILES="module/pg.py module/pgdb.py module/pgmodule.c
    36           module/pgfs.h module/pgtypes.h module/py3c.h
    37           module/setup.py module/setup.cfg"
     35MODFILES="pg.py pgdb.py pgmodule.c
     36          pgfs.h pgtypes.h py3c.h
     37          setup.py setup.cfg"
    3838DOCFILES="docs/Makefile docs/make.bat docs/*.rst
    3939          docs/contents docs/download docs/community
    4040          docs/_static docs/_templates"
    4141HTMLFILES="docs/_build/html"
    42 TESTFILES="module/tests/*.py"
     42TESTFILES="tests/*.py"
    4343
    4444echo "Making source tarball..."
Note: See TracChangeset for help on using the changeset viewer.