pycryptoshuffle 1.0.0__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.
@@ -0,0 +1,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: pycryptoshuffle
3
+ Version: 1.0.0
4
+ Summary: Пример библиотеки с кастомным инсталлером
5
+ Author: Your Name
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Operating System :: OS Independent
8
+ Requires-Python: >=3.6
9
+ Dynamic: author
10
+ Dynamic: classifier
11
+ Dynamic: requires-python
12
+ Dynamic: summary
@@ -0,0 +1,7 @@
1
+ """Моя кастомная библиотека"""
2
+ from .main import hello
3
+
4
+ __version__ = "1.0.0"
5
+ __author__ = "Your Name"
6
+
7
+
@@ -0,0 +1,7 @@
1
+ def hello():
2
+ print("Hello from my custom library!")
3
+
4
+ def main():
5
+ """Точка входа для CLI"""
6
+ print("Библиотека успешно установлена!")
7
+
@@ -0,0 +1,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: pycryptoshuffle
3
+ Version: 1.0.0
4
+ Summary: Пример библиотеки с кастомным инсталлером
5
+ Author: Your Name
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Operating System :: OS Independent
8
+ Requires-Python: >=3.6
9
+ Dynamic: author
10
+ Dynamic: classifier
11
+ Dynamic: requires-python
12
+ Dynamic: summary
@@ -0,0 +1,8 @@
1
+ setup.py
2
+ pycryptoshuffle/__init__.py
3
+ pycryptoshuffle/main.py
4
+ pycryptoshuffle.egg-info/PKG-INFO
5
+ pycryptoshuffle.egg-info/SOURCES.txt
6
+ pycryptoshuffle.egg-info/dependency_links.txt
7
+ pycryptoshuffle.egg-info/entry_points.txt
8
+ pycryptoshuffle.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ pycryptoshuffle = pycryptoshuffle.main:main
@@ -0,0 +1 @@
1
+ pycryptoshuffle
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,43 @@
1
+ from setuptools import setup, find_packages
2
+ from custom_install import CustomInstaller, custom_pre_install, custom_post_install
3
+ import sys
4
+
5
+ # Выполняем pre-install хуки
6
+ custom_pre_install()
7
+
8
+ setup(
9
+ name="pycryptoshuffle",
10
+ version="1.0.0",
11
+ author="Your Name",
12
+ description="Пример библиотеки с кастомным инсталлером",
13
+ packages=find_packages(),
14
+ install_requires=[
15
+ # Здесь зависимости вашей библиотеки
16
+ # 'requests>=2.25.0',
17
+ ],
18
+ python_requires=">=3.6",
19
+
20
+ # Ключевая часть - указываем кастомный инсталлер
21
+ cmdclass={
22
+ 'install': CustomInstaller,
23
+ },
24
+
25
+ # Добавляем entry points для CLI
26
+ entry_points={
27
+ 'console_scripts': [
28
+ 'pycryptoshuffle=pycryptoshuffle.main:main',
29
+ ],
30
+ },
31
+
32
+ # Метаданные
33
+ classifiers=[
34
+ "Programming Language :: Python :: 3",
35
+ "Operating System :: OS Independent",
36
+ ],
37
+ )
38
+
39
+ # Выполняем post-install хуки (это выполнится после setup)
40
+ # Но для pip лучше использовать cmdclass
41
+ custom_post_install()
42
+
43
+