Skip to content

astropy != AstroPy ??? #24

Closed
Closed

Description

@mdboom

Is there a good reason for the distutils/setuptools/egg name being different from the Python package name? It's currently defined as "AstroPy" in the setup.py.

Maybe this doesn't matter (sorry to be pedantic), but I find this confusing for the following reasons:

  1. I use a tool that cleans my virtualenv by deleting packages by name -- if its name on disk is different from how it's imported I have to remember which is which

  2. "pip install AstroPy" someday will confuse people

  3. tarballs and installers built with distutils won't match the name of the git repository

Activity

  1. phn commented on Oct 19, 2011

    @phn
    Contributor

    Hello,

    The command pip install astropy will work even if the module is named "AstroPy".

    Prasanth

  2. eteq commented on Oct 19, 2011

    @eteq
    Member

    I've seen this in other packages, and it doesn't seem to present too many problems... As Prasanth says various tools seem to generally be able to figure it out.

    But having said that, the no really good reason for the capitalized form, either. So I see your point that it makes sense to change the name to astropy so that it's all the same regardless.

    As long as there are no objections, I'll just go ahead and change the name in setup.py from AstroPy to astropy

  3. eteq commented on Oct 24, 2011

    @eteq
    Member

    Fixed in commit cb58b73

  4. added a commit that references this issue on Jan 23, 2015
  5. added a commit that references this issue on Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions