-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (31 loc) · 1.09 KB
/
Copy pathsetup.py
File metadata and controls
39 lines (31 loc) · 1.09 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
39
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def parse_requirements_to_freeze():
dependencies = []
def remove_trailing_comment(line):
return line.split('#')[0].strip()
with open('requirements-to-freeze.txt') as f:
for line in (l.strip() for l in f.readlines()):
if line and not line.startswith('#'):
dependencies.append(remove_trailing_comment(line))
return dependencies
setuptools.setup(
name="Fluidkeys",
version="0.0.1",
author="Paul and Ian",
author_email="hello@fluidkeys.com",
description="Automate your team's PGP keys",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/fluidkeys/command-line-client",
packages=setuptools.find_packages(),
classifiers=(
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
),
install_requires=parse_requirements_to_freeze(),
entry_points={
'console_scripts': ['fluidkeys=fluidkeys.command_line:main'],
},
)