Please include setup.py

Issue #111 resolved
Anonymous created an issue

As discussed on the mailing list, I'd like to have a setup.py at the root to be able to conveniently install Satchmo in the site-packages directory.

Please find attached such a script.

Reported by rhertzog

Comments (4)

  1. Anonymous

    Slight update (in setup.3.py) to use os.path.sep and os.path.altsep instead of encoding Windows/Unix file separators (for the benefit of MacOS9 users).

  2. Anonymous

    I finally wrote the "nicer setup.py" based on Django's one (but simplified). It's attached as setup.2.py. I believe this is OK to be committed (along with "svn mv satchmo/docs ./docs").

  3. Anonymous

    Replying to [ticket:111 rhertzog]:

    As discussed on the mailing list, I'd like to have a setup.py at the root to be able to conveniently install Satchmo in the site-packages directory.

    Please find attached such a script.

    I've taken here the "dumb" approach of listing everything. Another (nicer) approach is to take the setup.py from Django and adapt it. It builds dynamically the packages and list of data before giving them to setup().

    If you go that way, we'd rather avoid to put the "docs" directory in the site-package subdir. So I would suggest moving it outside of the "satchmo" directory, at the root directly near the AUTHORS/CONTRIBUTORS files.

  4. Log in to comment