Skip to content

Commit

Permalink
added README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sundarnagarajan committed Mar 26, 2016
1 parent bc413d2 commit 0e8006a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 41 deletions.
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ If your layout is different, you may need to make changes to the following:
- Add py_modules=[] to ADDL_KWARGS

- Under C EXTENSION DETAILS - IFF your package includes a C extension:
- Setting libpath
- Setting c_src_list
- Setting ext_modules
- Setting libpath
- Setting c_src_list
- Setting ext_modules


# C EXTENSION DETAILS
Expand All @@ -90,14 +90,14 @@ For simple cases with a single extension, you should only need to set:
I use package_dir and package_data to specify installing additional files that are:
- Files in directories under toplevel
- Wouldn't be AUTOMATICALLY included or installed because of:
- py_modules directive
- packages=find_packages() directive
- C source required for an extension
- py_modules directive
- packages=find_packages() directive
- C source required for an extension
Examples:
- Ship and INSTALL C source under the module directory
- Ship and INSTALL any other files - e.g:
- Documentation
- LICENSE
- Documentation
- LICENSE

With this method, we get following features:
- Do NOT require MANIFEST.in
Expand All @@ -111,11 +111,9 @@ Preparatory steps:

- Create other directories with data under toplevel
- If you want files in TOP-LEVEL (above toplevel) included, HARD LINK those FILES to directories under toplevel - e.g.:
- LICENSE
- README.rst
Alternatively, hard-link these files FROM the directory under
toplevel to the top-level
so that these files can be visible at top level (e.g. in github)
- LICENSE
- README.rst
- Alternatively, hard-link these files FROM the directory under toplevel to the top-level so that these files can be visible at top level (e.g. in github)

- set data_dirs to LIST of directories under toplevel that you want to include

Expand Down
36 changes: 21 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ following:
- Add py\_modules=[] to ADDL\_KWARGS

- Under C EXTENSION DETAILS - IFF your package includes a C extension:
- Setting libpath
- Setting c\_src\_list
- Setting ext\_modules

- Setting libpath
- Setting c\_src\_list
- Setting ext\_modules

C EXTENSION DETAILS
===================
Expand All @@ -114,14 +115,17 @@ files that are:

- Files in directories under toplevel
- Wouldn't be AUTOMATICALLY included or installed because of:
- py\_modules directive
- packages=find\_packages() directive
- C source required for an extension
Examples:

- py\_modules directive
- packages=find\_packages() directive
- C source required for an extension
Examples:

- Ship and INSTALL C source under the module directory
- Ship and INSTALL any other files - e.g:
- Documentation
- LICENSE

- Documentation
- LICENSE

With this method, we get following features:

Expand All @@ -136,13 +140,15 @@ Preparatory steps:
| - Set c\_dir above to the name of the dir UNDER toplevel
- Create other directories with data under toplevel
- | If you want files in TOP-LEVEL (above toplevel) included, HARD LINK
- If you want files in TOP-LEVEL (above toplevel) included, HARD LINK
those FILES to directories under toplevel - e.g.:
| - LICENSE
| - README.rst
| Alternatively, hard-link these files FROM the directory under
| toplevel to the top-level
| so that these files can be visible at top level (e.g. in github)

- LICENSE
- README.rst

- Alternatively, hard-link these files FROM the directory under
toplevel to the top-level so that these files can be visible at top
level (e.g. in github)

- set data\_dirs to LIST of directories under toplevel that you want to
include
Expand Down
24 changes: 11 additions & 13 deletions setupext/doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ If your layout is different, you may need to make changes to the following:
- Add py_modules=[] to ADDL_KWARGS

- Under C EXTENSION DETAILS - IFF your package includes a C extension:
- Setting libpath
- Setting c_src_list
- Setting ext_modules
- Setting libpath
- Setting c_src_list
- Setting ext_modules


# C EXTENSION DETAILS
Expand All @@ -90,14 +90,14 @@ For simple cases with a single extension, you should only need to set:
I use package_dir and package_data to specify installing additional files that are:
- Files in directories under toplevel
- Wouldn't be AUTOMATICALLY included or installed because of:
- py_modules directive
- packages=find_packages() directive
- C source required for an extension
- py_modules directive
- packages=find_packages() directive
- C source required for an extension
Examples:
- Ship and INSTALL C source under the module directory
- Ship and INSTALL any other files - e.g:
- Documentation
- LICENSE
- Documentation
- LICENSE

With this method, we get following features:
- Do NOT require MANIFEST.in
Expand All @@ -111,11 +111,9 @@ Preparatory steps:

- Create other directories with data under toplevel
- If you want files in TOP-LEVEL (above toplevel) included, HARD LINK those FILES to directories under toplevel - e.g.:
- LICENSE
- README.rst
Alternatively, hard-link these files FROM the directory under
toplevel to the top-level
so that these files can be visible at top level (e.g. in github)
- LICENSE
- README.rst
- Alternatively, hard-link these files FROM the directory under toplevel to the top-level so that these files can be visible at top level (e.g. in github)

- set data_dirs to LIST of directories under toplevel that you want to include

Expand Down

0 comments on commit 0e8006a

Please sign in to comment.