Skip to content

Commit 8c65045

Browse files
committed
setup.py
1 parent 772d21b commit 8c65045

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

Diff for: Pipfile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
8+
[packages]
9+
redis = "*"
10+
loguru = "*"
11+
12+
[requires]
13+
python_version = "3.7"

Diff for: Pipfile.lock

+37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: setup.py

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
"""A setuptools based setup module."""
2+
from os import path
3+
from setuptools import setup, find_packages
4+
from io import open
5+
6+
here = path.abspath(path.dirname(__file__))
7+
8+
# Get the long description from the README file
9+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
10+
long_description = f.read()
11+
12+
setup(
13+
name='Redis Python Tutorial',
14+
version='0.0.1',
15+
description='Source code for the accompanying tutorial about `redis-py` in-memory data storage.',
16+
long_description=long_description,
17+
long_description_content_type='text/markdown',
18+
url='https://github.com/hackersandslackers/redis-python-tutorial',
19+
author='Todd Birchard',
20+
author_email='toddbirchard@gmail.com',
21+
classifiers=[
22+
'Programming Language :: Python :: 3.7',
23+
'Programming Language :: Python :: 3.8',
24+
],
25+
keywords='Redis Redis-Py NoSQL Cache Memory',
26+
packages=find_packages(),
27+
install_requires=['Redis',
28+
'Loguru'],
29+
extras_require={
30+
'dev': ['check-manifest'],
31+
'test': ['coverage'],
32+
'env': ['python-dotenv']
33+
},
34+
entry_points={
35+
'console_scripts': [
36+
'run=main:__main__',
37+
],
38+
},
39+
project_urls={
40+
'Bug Reports': 'https://github.com/hackersandslackers/redis-python-tutorial/issues',
41+
'Source': 'https://github.com/hackersandslackers/redis-python-tutorial/',
42+
},
43+
)

0 commit comments

Comments
 (0)