quickpub 0.5.0__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quickpub-0.5.0 → quickpub-0.5.2}/PKG-INFO +24 -1
- quickpub-0.5.2/README.md +23 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/pyproject.toml +2 -2
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/__main__.py +3 -2
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/publish.py +3 -2
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub.egg-info/PKG-INFO +24 -1
- quickpub-0.5.0/README.md +0 -1
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/__init__.py +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/classifiers.py +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/files.py +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/proxy.py +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub/structures.py +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub.egg-info/SOURCES.txt +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub.egg-info/dependency_links.txt +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub.egg-info/requires.txt +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/quickpub.egg-info/top_level.txt +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/setup.cfg +0 -0
- {quickpub-0.5.0 → quickpub-0.5.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: quickpub
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: A python package to quickly configure and publish a new package
|
|
5
5
|
Author-email: danielnachumdev <danielnachumdev@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -26,6 +26,7 @@ License: MIT License
|
|
|
26
26
|
SOFTWARE.
|
|
27
27
|
Project-URL: Homepage, https://github.com/danielnachumdev/quickpub
|
|
28
28
|
Project-URL: Bug Tracker, https://github.com/danielnachumdev/quickpub/issues
|
|
29
|
+
Keywords: Utils,PyPi,Publish,Quick
|
|
29
30
|
Classifier: Development Status :: 3 - Alpha
|
|
30
31
|
Classifier: Intended Audience :: Developers
|
|
31
32
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -34,3 +35,25 @@ Requires-Python: >=3.10.13
|
|
|
34
35
|
Description-Content-Type: text/markdown
|
|
35
36
|
|
|
36
37
|
# quickpub
|
|
38
|
+
|
|
39
|
+
Example usage of how this package was published
|
|
40
|
+
```python
|
|
41
|
+
from quickpub import publish
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def main() -> None:
|
|
45
|
+
publish(
|
|
46
|
+
name="quickpub",
|
|
47
|
+
version="0.5.2",
|
|
48
|
+
author="danielnachumdev",
|
|
49
|
+
author_email="danielnachumdev@gmail.com",
|
|
50
|
+
description="A python package to quickly configure and publish a new package",
|
|
51
|
+
homepage="https://github.com/danielnachumdev/quickpub",
|
|
52
|
+
keywords=["Utils", "PyPi", "Publish", "Quick"],
|
|
53
|
+
dependencies=["twine", "danielutils"]
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
if __name__ == "__main__":
|
|
58
|
+
main()
|
|
59
|
+
```
|
quickpub-0.5.2/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# quickpub
|
|
2
|
+
|
|
3
|
+
Example usage of how this package was published
|
|
4
|
+
```python
|
|
5
|
+
from quickpub import publish
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def main() -> None:
|
|
9
|
+
publish(
|
|
10
|
+
name="quickpub",
|
|
11
|
+
version="0.5.2",
|
|
12
|
+
author="danielnachumdev",
|
|
13
|
+
author_email="danielnachumdev@gmail.com",
|
|
14
|
+
description="A python package to quickly configure and publish a new package",
|
|
15
|
+
homepage="https://github.com/danielnachumdev/quickpub",
|
|
16
|
+
keywords=["Utils", "PyPi", "Publish", "Quick"],
|
|
17
|
+
dependencies=["twine", "danielutils"]
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
if __name__ == "__main__":
|
|
22
|
+
main()
|
|
23
|
+
```
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quickpub"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name = "danielnachumdev", email = "danielnachumdev@gmail.com" },
|
|
10
10
|
]
|
|
11
11
|
dependencies = ['twine', 'danielutils']
|
|
12
|
-
keywords = []
|
|
12
|
+
keywords = ['Utils', 'PyPi', 'Publish', 'Quick']
|
|
13
13
|
license = { "file" = "LISENCE" }
|
|
14
14
|
description = "A python package to quickly configure and publish a new package"
|
|
15
15
|
readme = "README.md"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Optional, Union
|
|
1
|
+
from typing import Optional, Union, cast
|
|
2
2
|
from danielutils import get_python_version
|
|
3
3
|
from .publish import build, upload, commit, metrics
|
|
4
4
|
from .structures import Version, Config
|
|
@@ -22,12 +22,13 @@ def publish(
|
|
|
22
22
|
config: Optional[Config] = None
|
|
23
23
|
) -> None:
|
|
24
24
|
if version is None:
|
|
25
|
-
version
|
|
25
|
+
version = Version(0, 0, 1)
|
|
26
26
|
else:
|
|
27
27
|
version: Version = version if isinstance(version, Version) else Version.from_str(version) # type: ignore
|
|
28
28
|
|
|
29
29
|
if min_python is None:
|
|
30
30
|
min_python = Version(*get_python_version())
|
|
31
|
+
|
|
31
32
|
if keywords is None:
|
|
32
33
|
keywords = []
|
|
33
34
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import sys
|
|
1
2
|
from danielutils import info, error
|
|
2
3
|
|
|
3
4
|
from .proxy import cm
|
|
@@ -150,7 +151,7 @@ def build(
|
|
|
150
151
|
ret, stdout, stderr = cm("python", "setup.py", "sdist")
|
|
151
152
|
if ret != 0:
|
|
152
153
|
error(stderr.decode(encoding="utf8"))
|
|
153
|
-
exit(1)
|
|
154
|
+
sys.exit(1)
|
|
154
155
|
|
|
155
156
|
|
|
156
157
|
def upload(
|
|
@@ -164,7 +165,7 @@ def upload(
|
|
|
164
165
|
ret, stdout, stderr = cm("wt.exe", "twine", "upload", "--config-file", ".pypirc", f"dist/{name}-{version}.tar.gz")
|
|
165
166
|
if ret != 0:
|
|
166
167
|
error(stderr.decode(encoding="utf8"))
|
|
167
|
-
exit(1)
|
|
168
|
+
sys.exit(1)
|
|
168
169
|
|
|
169
170
|
|
|
170
171
|
def commit(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: quickpub
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: A python package to quickly configure and publish a new package
|
|
5
5
|
Author-email: danielnachumdev <danielnachumdev@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -26,6 +26,7 @@ License: MIT License
|
|
|
26
26
|
SOFTWARE.
|
|
27
27
|
Project-URL: Homepage, https://github.com/danielnachumdev/quickpub
|
|
28
28
|
Project-URL: Bug Tracker, https://github.com/danielnachumdev/quickpub/issues
|
|
29
|
+
Keywords: Utils,PyPi,Publish,Quick
|
|
29
30
|
Classifier: Development Status :: 3 - Alpha
|
|
30
31
|
Classifier: Intended Audience :: Developers
|
|
31
32
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -34,3 +35,25 @@ Requires-Python: >=3.10.13
|
|
|
34
35
|
Description-Content-Type: text/markdown
|
|
35
36
|
|
|
36
37
|
# quickpub
|
|
38
|
+
|
|
39
|
+
Example usage of how this package was published
|
|
40
|
+
```python
|
|
41
|
+
from quickpub import publish
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def main() -> None:
|
|
45
|
+
publish(
|
|
46
|
+
name="quickpub",
|
|
47
|
+
version="0.5.2",
|
|
48
|
+
author="danielnachumdev",
|
|
49
|
+
author_email="danielnachumdev@gmail.com",
|
|
50
|
+
description="A python package to quickly configure and publish a new package",
|
|
51
|
+
homepage="https://github.com/danielnachumdev/quickpub",
|
|
52
|
+
keywords=["Utils", "PyPi", "Publish", "Quick"],
|
|
53
|
+
dependencies=["twine", "danielutils"]
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
if __name__ == "__main__":
|
|
58
|
+
main()
|
|
59
|
+
```
|
quickpub-0.5.0/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# quickpub
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|