cs107-lecture-examples

Example codes used during Harvard CS107 lectures
git clone https://git.0xfab.ch/cs107-lecture-examples.git
Log | Files | Refs | README | LICENSE

setup.cfg (1388B)


      1 [metadata]
      2 ; The name is normally the name of your package.  In this test project it would
      3 ; be cs107_package (which is what we have in ./src).  It can be different though
      4 ; as in this example.  The name you specify here is what one would have to type
      5 ; using `python -m pip install <name>`, while the package name(s) in ./src is
      6 ; what one must type using the `import <package name>` statement.  Note that
      7 ; PyPI is following PEP8 and converts underscores `_` in the name to hyphens
      8 ; `-`.  You can still use `python -m pip install Fall2022_CS107` however.
      9 name = Fall2022_CS107
     10 version = 0.0.2
     11 author = Fabian Wermelinger
     12 author_email = fabianw@seas.harvard.edu
     13 description = CS107/AC207 test package
     14 long_description = file: README.md
     15 long_description_content_type = text/markdown
     16 url = https://code.harvard.edu/CS107/main/tree/master/lecture/code/lecture09/python_project
     17 classifiers =
     18     Intended Audience :: Developers
     19     Programming Language :: Python :: 3
     20     Topic :: Software Development :: Libraries :: Python Modules
     21 
     22 [options]
     23 ; for our test package we chose to put the source code into `src`
     24 package_dir =
     25     =src
     26 
     27 ; required to automatically find our package in `src`
     28 packages = find:
     29 
     30 ; additional package dependencies (examples): this package requires numpy
     31 install_requires =
     32     numpy
     33 
     34 [options.packages.find]
     35 ; additional config required for find above
     36 where = src