This repository was archived by the owner on Apr 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.27 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.27 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
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
import pgpapi as project
from setuptools import setup
from setuptools import find_packages
from pip.req import parse_requirements
from pip.download import PipSession
def get_file_content(fname):
try:
return open(fname).read()
except:
return None
setup(
name=project.NAME,
version=project.VERSION,
description=project.DESCRIPTION,
long_description=get_file_content('README.md'),
author=project.AUTHOR_NAME,
author_email=project.AUTHOR_EMAIL,
url=project.URL,
packages=find_packages(),
install_requires=[str(x.req) for x in
parse_requirements('requirements.txt',
session=PipSession())],
package_data={
},
license=project.LICENSE,
entry_points={
'console_scripts': [
'pgpapi = pgpapi.main:cli',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
test_suite="tests.suite",
include_package_data=True,
)