Check-in [4086e00f2c]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | add setuptools, Makefile |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4086e00f2cad1e6e7bde04ab1d47876d |
User & Date: | mario 2021-03-20 08:57:40 |
Context
2021-03-20
| ||
08:58 | Updated structure/fields for cookiecutter meta data check-in: 1b401bb054 user: mario tags: trunk | |
08:57 | add setuptools, Makefile check-in: 4086e00f2c user: mario tags: trunk | |
08:56 | Basic docs and project infos check-in: 43bf1164ec user: mario tags: trunk | |
Changes
Added Makefile.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/usr/bin/make run: python3 -m cookiedough setup: #pandoc README.md -o README.rst python3 setup.py bdist_wheel rm -r cookiedough.egg-info upload: setup python3 setup.py bdist_wheel upload rm -r cookiedough.egg-info t: pytest -v -v -v -v profile: python3 -m cProfile -o profile_data.pyprof -m cookiedough pyprof2calltree -i profile_data.pyprof -k docs: pygmentize -S pastie -f html > logfmt1/docs/syntax.css cd logfmt1 ; PYTHONPATH=. mkdocs build -v -v -v sed -i 's/table\.docutils/table/g' logfmt1/html/css/theme.css sed -i 's/[{};]/&\n/g' logfmt1/html/css/theme.css %.1: %.md pandoc --standalone -f markdown+pandoc_title_block -t man $< -o $@ %.5: %.md pandoc --standalone -f markdown+pandoc_title_block -t man $< -o $@ man: manpage/cookiedough.1 manpage/cookiecutter.1 |
Added pytest.ini.
> > > > > > > | 1 2 3 4 5 6 7 | [pytest] minversion = 1.0 addopts = -ra -q --ignore=test/util.py --ignore=test/_*.py --ignore=test/__*.py -p no:warnings testpaths = test/ python_files = *.py # Yes sure pytest, why not do the obvious thing anyway python_functions = !_* [a-z]* [A-Z]* !_* |
Added setup.py.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #!/usr/bin/env python3 # encoding: utf-8 # api: pip # type: build # title: config for setuptools # # Always prefer setuptools over distutils # from pluginconf.setup import setup setup( #debug=1, fn="cookiedough/__init__.py", name="cookiedough", long_description="README.md", packages=["cookiedough"], package_dir={"": "."}, package_data={ "cookiedough": [ "./*.json", "./help/*.page", ], }, include_package_data=True, entry_points={ "console_scripts": [ "cookiedough=cookiedough:main", ] }, extras_require={ "build": ["pluginconf","setuptools"], "unused": ["ttkthemes"] }, universal=False ) |