-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (32 loc) · 1 KB
/
setup.py
File metadata and controls
39 lines (32 loc) · 1 KB
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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from karma import __version__
import os
try:
long_description = open("README.md", "rt").read()
except Exception as e:
long_description = "Find leaked emails with your passwords."
def read_requirements():
"""Parse requirements from requirements.txt."""
requirements_path = os.path.join(".", "requirements.txt")
with open(requirements_path, "r") as f:
requirements = [line.rstrip() for line in f]
return requirements
setup(
name="karma",
version=__version__,
description="Find leaked emails with your passwords.",
long_description=long_description,
author="decoxviii",
author_email="decoxviii@gmail.com",
url="https://github.com/decoxviii/karma",
packages=find_packages(),
scripts=["bin/karma"],
license="MIT",
install_requires=read_requirements(),
classifiers=[
"Programming Language :: Python3",
"License :: MIT",
"Environment :: Console",
],
)