tjamgo 0.1.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.
- tjamgo-0.1.0/PKG-INFO +34 -0
- tjamgo-0.1.0/setup.cfg +4 -0
- tjamgo-0.1.0/setup.py +136 -0
- tjamgo-0.1.0/tjamgo.egg-info/PKG-INFO +34 -0
- tjamgo-0.1.0/tjamgo.egg-info/SOURCES.txt +6 -0
- tjamgo-0.1.0/tjamgo.egg-info/dependency_links.txt +1 -0
- tjamgo-0.1.0/tjamgo.egg-info/requires.txt +6 -0
- tjamgo-0.1.0/tjamgo.egg-info/top_level.txt +1 -0
tjamgo-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tjamgo
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python Web Framework built for learning purposes.
|
|
5
|
+
Home-page: https://github.com/me/myproject
|
|
6
|
+
Author: Jamshid Tolibjonov
|
|
7
|
+
Author-email: tjamgooo@gmai.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
13
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
14
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
15
|
+
Requires-Python: >=3.9.0
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
Requires-Dist: Jinja2==3.1.6
|
|
18
|
+
Requires-Dist: parse==1.22.2
|
|
19
|
+
Requires-Dist: requests==2.32.5
|
|
20
|
+
Requires-Dist: requests-wsgi-adapter==0.4.1
|
|
21
|
+
Requires-Dist: WebOb==1.8.11
|
|
22
|
+
Requires-Dist: whitenoise==6.11.0
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: author-email
|
|
25
|
+
Dynamic: classifier
|
|
26
|
+
Dynamic: description
|
|
27
|
+
Dynamic: description-content-type
|
|
28
|
+
Dynamic: home-page
|
|
29
|
+
Dynamic: license
|
|
30
|
+
Dynamic: requires-dist
|
|
31
|
+
Dynamic: requires-python
|
|
32
|
+
Dynamic: summary
|
|
33
|
+
|
|
34
|
+
Python Web Framework built for learning purposes.
|
tjamgo-0.1.0/setup.cfg
ADDED
tjamgo-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
# Note: To use the 'upload' functionality of this file, you must:
|
|
5
|
+
# $ pipenv install twine --dev
|
|
6
|
+
|
|
7
|
+
import io
|
|
8
|
+
import os
|
|
9
|
+
import sys
|
|
10
|
+
from shutil import rmtree
|
|
11
|
+
|
|
12
|
+
from setuptools import find_packages, setup, Command
|
|
13
|
+
|
|
14
|
+
# Package meta-data.
|
|
15
|
+
NAME = 'tjamgo'
|
|
16
|
+
DESCRIPTION = 'Python Web Framework built for learning purposes.'
|
|
17
|
+
URL = 'https://github.com/me/myproject'
|
|
18
|
+
EMAIL = 'tjamgooo@gmai.com'
|
|
19
|
+
AUTHOR = 'Jamshid Tolibjonov'
|
|
20
|
+
REQUIRES_PYTHON = '>=3.9.0'
|
|
21
|
+
VERSION = '0.1.0'
|
|
22
|
+
|
|
23
|
+
# What packages are required for this module to be executed?
|
|
24
|
+
REQUIRED = [
|
|
25
|
+
"Jinja2==3.1.6",
|
|
26
|
+
"parse==1.22.2",
|
|
27
|
+
"requests==2.32.5",
|
|
28
|
+
"requests-wsgi-adapter==0.4.1",
|
|
29
|
+
"WebOb==1.8.11",
|
|
30
|
+
"whitenoise==6.11.0"
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
# What packages are optional?
|
|
34
|
+
EXTRAS = {
|
|
35
|
+
# 'fancy feature': ['django'],
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
# The rest you shouldn't have to touch too much :)
|
|
39
|
+
# ------------------------------------------------
|
|
40
|
+
# Except, perhaps the License and Trove Classifiers!
|
|
41
|
+
# If you do change the License, remember to change the Trove Classifier for that!
|
|
42
|
+
|
|
43
|
+
here = os.path.abspath(os.path.dirname(__file__))
|
|
44
|
+
|
|
45
|
+
# Import the README and use it as the long-description.
|
|
46
|
+
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
|
|
47
|
+
try:
|
|
48
|
+
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
|
|
49
|
+
long_description = '\n' + f.read()
|
|
50
|
+
except FileNotFoundError:
|
|
51
|
+
long_description = DESCRIPTION
|
|
52
|
+
|
|
53
|
+
# Load the package's __version__.py module as a dictionary.
|
|
54
|
+
about = {}
|
|
55
|
+
if not VERSION:
|
|
56
|
+
project_slug = NAME.lower().replace("-", "_").replace(" ", "_")
|
|
57
|
+
with open(os.path.join(here, project_slug, '__version__.py')) as f:
|
|
58
|
+
exec(f.read(), about)
|
|
59
|
+
else:
|
|
60
|
+
about['__version__'] = VERSION
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class UploadCommand(Command):
|
|
64
|
+
"""Support setup.py upload."""
|
|
65
|
+
|
|
66
|
+
description = 'Build and publish the package.'
|
|
67
|
+
user_options = []
|
|
68
|
+
|
|
69
|
+
@staticmethod
|
|
70
|
+
def status(s):
|
|
71
|
+
"""Prints things in bold."""
|
|
72
|
+
print('\033[1m{0}\033[0m'.format(s))
|
|
73
|
+
|
|
74
|
+
def initialize_options(self):
|
|
75
|
+
pass
|
|
76
|
+
|
|
77
|
+
def finalize_options(self):
|
|
78
|
+
pass
|
|
79
|
+
|
|
80
|
+
def run(self):
|
|
81
|
+
try:
|
|
82
|
+
self.status('Removing previous builds…')
|
|
83
|
+
rmtree(os.path.join(here, 'dist'))
|
|
84
|
+
except OSError:
|
|
85
|
+
pass
|
|
86
|
+
|
|
87
|
+
self.status('Building Source and Wheel (universal) distribution…')
|
|
88
|
+
os.system('{0} setup.py sdist bdist_wheel --universal'.format(sys.executable))
|
|
89
|
+
|
|
90
|
+
self.status('Uploading the package to PyPI via Twine…')
|
|
91
|
+
os.system('twine upload dist/*')
|
|
92
|
+
|
|
93
|
+
self.status('Pushing git tags…')
|
|
94
|
+
os.system('git tag v{0}'.format(about['__version__']))
|
|
95
|
+
os.system('git push --tags')
|
|
96
|
+
|
|
97
|
+
sys.exit()
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
# Where the magic happens:
|
|
101
|
+
setup(
|
|
102
|
+
name=NAME,
|
|
103
|
+
version=about['__version__'],
|
|
104
|
+
description=DESCRIPTION,
|
|
105
|
+
long_description=long_description,
|
|
106
|
+
long_description_content_type='text/markdown',
|
|
107
|
+
author=AUTHOR,
|
|
108
|
+
author_email=EMAIL,
|
|
109
|
+
python_requires=REQUIRES_PYTHON,
|
|
110
|
+
url=URL,
|
|
111
|
+
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
|
|
112
|
+
# If your package is a single module, use this instead of 'packages':
|
|
113
|
+
# py_modules=['mypackage'],
|
|
114
|
+
|
|
115
|
+
# entry_points={
|
|
116
|
+
# 'console_scripts': ['mycli=mymodule:cli'],
|
|
117
|
+
# },
|
|
118
|
+
install_requires=REQUIRED,
|
|
119
|
+
extras_require=EXTRAS,
|
|
120
|
+
include_package_data=True,
|
|
121
|
+
license='MIT',
|
|
122
|
+
classifiers=[
|
|
123
|
+
# Trove classifiers
|
|
124
|
+
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
125
|
+
'License :: OSI Approved :: MIT License',
|
|
126
|
+
'Programming Language :: Python',
|
|
127
|
+
'Programming Language :: Python :: 3',
|
|
128
|
+
'Programming Language :: Python :: 3.6',
|
|
129
|
+
'Programming Language :: Python :: Implementation :: CPython',
|
|
130
|
+
'Programming Language :: Python :: Implementation :: PyPy'
|
|
131
|
+
],
|
|
132
|
+
# $ setup.py publish support.
|
|
133
|
+
cmdclass={
|
|
134
|
+
'upload': UploadCommand,
|
|
135
|
+
},
|
|
136
|
+
)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tjamgo
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python Web Framework built for learning purposes.
|
|
5
|
+
Home-page: https://github.com/me/myproject
|
|
6
|
+
Author: Jamshid Tolibjonov
|
|
7
|
+
Author-email: tjamgooo@gmai.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
13
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
14
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
15
|
+
Requires-Python: >=3.9.0
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
Requires-Dist: Jinja2==3.1.6
|
|
18
|
+
Requires-Dist: parse==1.22.2
|
|
19
|
+
Requires-Dist: requests==2.32.5
|
|
20
|
+
Requires-Dist: requests-wsgi-adapter==0.4.1
|
|
21
|
+
Requires-Dist: WebOb==1.8.11
|
|
22
|
+
Requires-Dist: whitenoise==6.11.0
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: author-email
|
|
25
|
+
Dynamic: classifier
|
|
26
|
+
Dynamic: description
|
|
27
|
+
Dynamic: description-content-type
|
|
28
|
+
Dynamic: home-page
|
|
29
|
+
Dynamic: license
|
|
30
|
+
Dynamic: requires-dist
|
|
31
|
+
Dynamic: requires-python
|
|
32
|
+
Dynamic: summary
|
|
33
|
+
|
|
34
|
+
Python Web Framework built for learning purposes.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|