Spaces:
Runtime error
Runtime error
Commit ·
cd192f4
1
Parent(s): e3388ee
package
Browse filesFiles changed (6)
59 unmodified lines6061626364656667686970717273747576636465666768697071727374757677787980787980818283848485868759 unmodified lines twine upload -r testpypi dist/*
run_tests: needs: [build, publish_package_to_testpypi] runs-on: ubuntu-latest steps: - working-directory: /techdocs - uses: actions/checkout@v3 - name: Set up Python 3.10 uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip pip install --no-cache-dir --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ techdocs # run_tests: # needs: [build, publish_package_to_testpypi] # runs-on: ubuntu-latest # steps: # - working-directory: /techdocs # - uses: actions/checkout@v3 # - name: Set up Python 3.10 # uses: actions/setup-python@v3 # with: # python-version: "3.10" # - name: Install dependencies # run: | # python -m pip install --upgrade pip # pip install --no-cache-dir --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ techdocs - name: Test testpypi package run: | techdocs run tests # - name: Test testpypi package # run: | # techdocs run tests
publish_package_to_pypi: needs: [build, publish_package_to_testpypi, run_tests] needs: [build, publish_package_to_testpypi] if: github.repository == 'CaffeineCrew/Techdocs' runs-on: ubuntu-latest steps:1223456778910[build-system]requires = ["setuptools>=64.0.0", "wheel"]requires = ["setuptools>=64.0.0", "wheel", "requests"]build-backend = "setuptools.build_meta"
[project]name = "techdocs"version = "0.1.0"version = "0.1.1"description = "Code documentation generation CLI App"readme = "README.md"authors = [{ name = "Techdocs", email = "test@test.com" }]12334563 unmodified lines1011121314[metadata]name = techdocsversion = 0.1.0version = 0.1.1
[options]packages = techdocs3 unmodified lines[options.entry_points]console_scripts = techdocs = techdocs.cli:main
2 unmodified lines345667892 unmodified lines
setup( name='techdocs', version='0.1.0', version='0.1.1', # To provide executable scripts, use entry points in preference to the # "scripts" keyword. Entry points provide cross-platform support and allow # pip to create the appropriate form of executable for the target platform.11__version__ = "0.1.0"__version__ = "0.1.1"1234545678import jsonimport requests
# BASE_URL = "https://caffeinecrew-techdocs.hf.space"BASE_URL = "http://127.0.0.1:8000"BASE_URL = "https://caffeinecrew-techdocs.hf.space"# BASE_URL = "http://127.0.0.1:8000"
.github/workflows/build_python_package.yml+18-18
pyproject.toml+2-2
setup.cfg+3-1
setup.py+1-1
techdocs/__init__.py+1-1
techdocs/utils/functools.py+2-2