This repository has been archived by the owner on Jan 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
62 lines (51 loc) · 1.77 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
import jprq
import os
def path_in_project(*path):
return os.path.join(os.path.dirname(__file__), *path)
def read_file(filename):
with open(path_in_project(filename)) as f:
return f.read()
def read_requirements(filename):
contents = read_file(filename).strip('\n')
return contents.split('\n') if contents else []
if sys.version_info[:3] < (3, 6, 1):
raise Exception("jprq requires Python >= 3.6.1.")
description = 'Get your localhost online and https - Ngrok Alternative'
long_description = read_file('README.md')
setup(
name='jprq',
version=jprq.__version__,
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='jprq live localhost online https ngrok alternative',
author='Azimjon Pulatov',
author_email='azimjohn@yahoo.com',
maintainer='Azimjon Pulatov',
maintainer_email='azimjohn@yahoo.com',
url='https://github.com/azimjohn/jprq-python-client',
license='MIT',
packages=find_packages(),
entry_points={
'console_scripts': [
'jprq = jprq.main:main',
]
},
install_requires=read_requirements('requirements.txt'),
python_requires='>=3.6.1',
)