-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
42 lines (37 loc) · 1.36 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
import os
from pip._internal.req import parse_requirements
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
requirements_path = os.path.join(here, 'requirements.txt')
install_reqs = parse_requirements(requirements_path, session=False)
try:
requirements = [str(ir.req) for ir in install_reqs]
except AttributeError:
requirements = [str(ir.requirement) for ir in install_reqs]
# The text of the README file
with open(os.path.join(here, 'README.md')) as f:
README = f.read()
setup(name='encrypt-file',
version='2.1',
packages=find_packages(),
install_requires=requirements,
entry_points={
'console_scripts': ['encrypt-file=encryptfile.__main__:main']
},
# metadata to display on PyPI
description='CLI to encrypt or decrypt files with only one command',
long_description=README,
long_description_content_type='text/markdown',
keywords='encrypt, decrypt, cli, easy, file',
url='https://github.com/brunocampos01/encrypt-file', # project home page
author='Bruno Campos',
author_email='[email protected]',
license='MIT',
platforms='any',
classifiers=[
'Programming Language :: Python',
'Natural Language :: English',
'License :: OSI Approved :: MIT License'
]
)