-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (28 loc) · 876 Bytes
/
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
import subprocess
import os
from setuptools import find_packages, setup
with open("README.md", encoding="UTF-8") as readme:
long_desc = readme.read()
if os.path.exists("src"):
subprocess.run("mv src crpyt", shell=True)
setup(
name="crpyt",
version="0.0.2",
packages=find_packages(),
include_package_data=True,
long_description=long_desc,
long_description_content_type="text/markdown",
description="Encrypt files within a tree using GPG",
author="MolassesLover",
author_email="[email protected]",
url="https://github.com/MolassesLover/Crpyt",
install_requires=["black", "colorama", "SCons"],
license="MIT",
entry_points={
"console_scripts": [
"crpyt = crpyt.cli:main",
]
},
)
if os.path.exists("crpyt"):
subprocess.run("mv crpyt src", shell=True)