C preprocessor written in Python
Revisión | b2e0830b2cff167da53305c74aea0bf3cee0063b (tree) |
---|---|
Tiempo | 2022-02-01 15:38:37 |
Autor | Eric Hopper <hopper@omni...> |
Commiter | Eric Hopper |
Set up as a real Python project with all trimmings.
@@ -0,0 +1,10 @@ | ||
1 | +syntax: glob | |
2 | +__pycache__ | |
3 | +*.pyc | |
4 | +*.pyo | |
5 | +*.egg-info | |
6 | + | |
7 | +syntax: re | |
8 | +^\.idea$ | |
9 | +^venv$ | |
10 | +^\.pytest_cache$ |
@@ -0,0 +1,2 @@ | ||
1 | +[pytest] | |
2 | +testpaths = tests |
@@ -0,0 +1,33 @@ | ||
1 | +import setuptools | |
2 | + | |
3 | +with open("README.md", "r") as fh: | |
4 | + long_description = fh.read() | |
5 | + | |
6 | +setuptools.setup( | |
7 | + name="PyCPre", | |
8 | + version="0.1", | |
9 | + author="Eric Hopper", | |
10 | + author_email="hopper@omnifarious.org", | |
11 | + description="Copy parts of Twitter's relationship graph to a database.", | |
12 | + long_description=long_description, | |
13 | + long_description_content_type="text/markdown", | |
14 | + packages=setuptools.find_packages("src"), | |
15 | + package_dir={"": "src"}, | |
16 | + py_modules=[], | |
17 | + python_requires=">=3.9", | |
18 | + tests_require=[ | |
19 | + "pytest>=6.2.4", | |
20 | + ], | |
21 | + install_requires=[ | |
22 | + ], | |
23 | + entry_points={ | |
24 | + # 'console_scripts': [ | |
25 | + # "noneyet = pycpre.main:entrypoint", | |
26 | + # ], | |
27 | + }, | |
28 | + classifiers=[ | |
29 | + "Programming Language :: Python :: 3", | |
30 | + "Environment :: Console", | |
31 | + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | |
32 | + ], | |
33 | +) |