-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (30 loc) · 857 Bytes
/
setup.py
File metadata and controls
37 lines (30 loc) · 857 Bytes
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
#!/usr/bin/env python
from distutils.command.install_scripts import install_scripts
from distutils.core import setup
from setuptools import find_packages
requirements = [
line.split('==')[0]
for line in open('requirements.txt', 'r').readlines()
]
class InstallScripts(install_scripts):
def run(self):
print("This line will never be printed")
def get_outputs(self):
return []
setup(
name='pety',
version='0.0.1',
description='Project Environment Tool',
author='LimeBrains',
author_email='mail@limebrains.com',
url='https://github.com/limebrains/pet',
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
entry_points="""\
[console_scripts]
pet = pet.cli:main
""",
cmdclass={'install_scripts': InstallScripts},
scripts=[],
)