Skip to content

Source file locations #444

Closed
Closed

Description

@kain88-de

Place all source files for compiled shared object files into the same folder as the final shared object file.

*.pyx files and cython-generated *.c would be in the same directory as the *.so. While external dependend C/C++/Fortran libraries are in dedicate src and include folders. See the following tree as an example.

MDAnalysis 
      |--lib
      |   |-- _distances.so
      |   |-- distances.pyx
      |   |-- distances.c
      |-- coordinates
          |-- _dcdmodule.so
          |-- src
              |-- dcd.c
          |-- include
              |-- dcd.h

This is standard see numpy, scipy, scikit-learn. mdtraj

Activity

  1. orbeckst commented on Sep 24, 2015

    @orbeckst
    Member

    Why not? If it makes clearer what belongs together I have no objections.

  2. added this to the 1.0 milestone on Sep 27, 2015
  3. orbeckst commented on Sep 27, 2015

    @orbeckst
    Member

    I am officially in favor of the proposal. Any other voices?

  4. hainm commented on Sep 27, 2015

    @hainm
    Contributor

    I always favor following common concept in ecosystem. so +1.

  5. kain88-de commented on Oct 1, 2015

    @kain88-de
    MemberAuthor

    could we maybe add an easy tag to this?

  6. orbeckst commented on Oct 1, 2015

    @orbeckst
    Member

    Something like the 'repository' tag that I just added (basically, anything relating to how we organize code), or do you want something more specific?

  7. kain88-de commented on Oct 1, 2015

    @kain88-de
    MemberAuthor

    I thought about an easy tag meaning they are bugs easy to solve. It would be a mark to show people who want to contribute what good bugs to pick are at the beginning.

  8. orbeckst commented on Oct 1, 2015

    @orbeckst
    Member

    Ok, I added tag Difficulty-easy and tag Difficulty-hard to the list; obviously, that lies somewhat in the eye of the beholder but please: tag away!

    (I purposefully omitted Difficulty-medium to avoid swamping issues with a default tag...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions