mayureshagashe2105 commited on
Commit
cd192f4
·
1 Parent(s): e3388ee
.github/workflows/build_python_package.yml CHANGED
@@ -60,28 +60,28 @@ jobs:
60
  twine upload -r testpypi dist/*
61
 
62
 
63
- run_tests:
64
- needs: [build, publish_package_to_testpypi]
65
- runs-on: ubuntu-latest
66
- steps:
67
- - working-directory: /techdocs
68
- - uses: actions/checkout@v3
69
- - name: Set up Python 3.10
70
- uses: actions/setup-python@v3
71
- with:
72
- python-version: "3.10"
73
- - name: Install dependencies
74
- run: |
75
- python -m pip install --upgrade pip
76
- pip install --no-cache-dir --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ techdocs
77
 
78
- - name: Test testpypi package
79
- run: |
80
- techdocs run tests
81
 
82
 
83
  publish_package_to_pypi:
84
- needs: [build, publish_package_to_testpypi, run_tests]
85
  if: github.repository == 'CaffeineCrew/Techdocs'
86
  runs-on: ubuntu-latest
87
  steps:
 
60
  twine upload -r testpypi dist/*
61
 
62
 
63
+ # run_tests:
64
+ # needs: [build, publish_package_to_testpypi]
65
+ # runs-on: ubuntu-latest
66
+ # steps:
67
+ # - working-directory: /techdocs
68
+ # - uses: actions/checkout@v3
69
+ # - name: Set up Python 3.10
70
+ # uses: actions/setup-python@v3
71
+ # with:
72
+ # python-version: "3.10"
73
+ # - name: Install dependencies
74
+ # run: |
75
+ # python -m pip install --upgrade pip
76
+ # pip install --no-cache-dir --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ techdocs
77
 
78
+ # - name: Test testpypi package
79
+ # run: |
80
+ # techdocs run tests
81
 
82
 
83
  publish_package_to_pypi:
84
+ needs: [build, publish_package_to_testpypi]
85
  if: github.repository == 'CaffeineCrew/Techdocs'
86
  runs-on: ubuntu-latest
87
  steps:
pyproject.toml CHANGED
@@ -1,10 +1,10 @@
1
  [build-system]
2
- requires = ["setuptools>=64.0.0", "wheel"]
3
  build-backend = "setuptools.build_meta"
4
 
5
  [project]
6
  name = "techdocs"
7
- version = "0.1.0"
8
  description = "Code documentation generation CLI App"
9
  readme = "README.md"
10
  authors = [{ name = "Techdocs", email = "[email protected]" }]
 
1
  [build-system]
2
+ requires = ["setuptools>=64.0.0", "wheel", "requests"]
3
  build-backend = "setuptools.build_meta"
4
 
5
  [project]
6
  name = "techdocs"
7
+ version = "0.1.1"
8
  description = "Code documentation generation CLI App"
9
  readme = "README.md"
10
  authors = [{ name = "Techdocs", email = "[email protected]" }]
setup.cfg CHANGED
@@ -1,6 +1,6 @@
1
  [metadata]
2
  name = techdocs
3
- version = 0.1.0
4
 
5
  [options]
6
  packages = techdocs
@@ -10,3 +10,5 @@ install_requires =
10
  [options.entry_points]
11
  console_scripts =
12
  techdocs = techdocs.cli:main
 
 
 
1
  [metadata]
2
  name = techdocs
3
+ version = 0.1.1
4
 
5
  [options]
6
  packages = techdocs
 
10
  [options.entry_points]
11
  console_scripts =
12
  techdocs = techdocs.cli:main
13
+
14
+
setup.py CHANGED
@@ -3,7 +3,7 @@ from setuptools import setup
3
 
4
  setup(
5
  name='techdocs',
6
- version='0.1.0',
7
  # To provide executable scripts, use entry points in preference to the
8
  # "scripts" keyword. Entry points provide cross-platform support and allow
9
  # pip to create the appropriate form of executable for the target platform.
 
3
 
4
  setup(
5
  name='techdocs',
6
+ version='0.1.1',
7
  # To provide executable scripts, use entry points in preference to the
8
  # "scripts" keyword. Entry points provide cross-platform support and allow
9
  # pip to create the appropriate form of executable for the target platform.
techdocs/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.0"
 
1
+ __version__ = "0.1.1"
techdocs/utils/functools.py CHANGED
@@ -1,8 +1,8 @@
1
  import json
2
  import requests
3
 
4
- # BASE_URL = "https://caffeinecrew-techdocs.hf.space"
5
- BASE_URL = "http://127.0.0.1:8000"
6
 
7
 
8
 
 
1
  import json
2
  import requests
3
 
4
+ BASE_URL = "https://caffeinecrew-techdocs.hf.space"
5
+ # BASE_URL = "http://127.0.0.1:8000"
6
 
7
 
8