intial
This commit is contained in:
30
setup.py
Normal file
30
setup.py
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
import os
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
|
|
||||||
|
def version_reader(path):
|
||||||
|
for line in open(path, "rt").read(1024).split("\n"):
|
||||||
|
if line.startswith("__version__"):
|
||||||
|
return line.split("=")[1].strip().replace('"', "")
|
||||||
|
|
||||||
|
|
||||||
|
version = version_reader(os.path.join("qgpg", "__init__.py"))
|
||||||
|
setup(
|
||||||
|
name="qgpg",
|
||||||
|
packages=["qgpg"],
|
||||||
|
version=version,
|
||||||
|
description="QuickGPG",
|
||||||
|
author="Ville Rantanen",
|
||||||
|
author_email="q@six9.net",
|
||||||
|
keywords=["GPG"],
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
"qgpg=qgpg:main",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
install_requires=[
|
||||||
|
"python-gnupg",
|
||||||
|
],
|
||||||
|
# ~ package_data={"": ["resources/*"]},
|
||||||
|
include_package_data=True,
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user