-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (48 loc) · 1.73 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
long_description = \
"""An example Python package showing the ability to deploy Python packages directly
from a git repo using pip. It shows how to include non Python files, such as
bash scripts. It also shows how to deploy a wrapper script to /usr/local/bin without
having to write any boilerplate code.
This sample Python code invokes a bash script which prints the environment variables.
"""
setup(
name='pip_example',
# https://packaging.python.org/en/latest/single_source_version.html
version='1.4',
description='pip example',
long_description=long_description,
# The project's main homepage.
url='https://github.com/kamalacharya/pip_example',
# Author details
author='Kamal Acharya',
author_email='[email protected]',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Test Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
keywords='setuptools development',
packages=find_packages(),
include_package_data=True,
package_data={
'pip_example.bash_scripts': ['*.sh'],
},
entry_points={
'console_scripts': [
'pip_example = pip_example.scripts.pip_example:main',
],
},
)