-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_setup.py
48 lines (45 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
import setuptools
import os.path as path
from pypm.version import __version__
# This file should be used as a backup for
# setup.cfg. Using configuration files will
# be deprecated for some users using Homebrew.
# This is for backwards compatiblity.
# Future versions of PyEnv will be updated
# to cover this deprecated features.
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="pypm2",
version=__version__,
author="AbleInc",
author_email="[email protected]",
description="Python package manager for projects running Python3.6 and above.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ableinc/pypm",
keywords=['package manager', 'dependency manager', 'manager', 'python 3', 'cli tool', 'command line tool'],
packages=setuptools.find_packages(),
package_data={
'pypm': ['pypm/data/pkg.json', 'pypm/data/pyproject.toml', 'pypm/data/setup.cfg', 'pypm/data/setup.py']
},
data_files=[
('/pypm/data', [path.join('pypm/data', 'pkg.json')]),
('/pypm/data', [path.join('pypm/data', 'pyproject.toml')]),
('/pypm/data', [path.join('pypm/data', 'setup.cfg')]),
('/pypm/data', [path.join('pypm/data', 'setup.py')])
],
entry_points='''
[console_scripts]
pypm=pypm.cli:cli
''',
install_requires=['Click==7.0', 'stdlib-list==0.7.0'],
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)