-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
56 lines (39 loc) · 1.26 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
# vim: set expandtab ts=4 sw=4 filetype=python fileencoding=utf8:
import os
import sys
from setuptools import find_packages, setup
try:
from pip.req import parse_requirements
except ImportError:
# The req module has been moved to pip._internal in the 10
# release.
from pip._internal.req import parse_requirements
# Read __version__ from version.py
with open(os.path.join(os.getcwd(), "horsemeat", "version.py")) as f:
exec(f.read())
requirements = [str(req.requirement) if hasattr(req, "requirement") else str(req.req)
for req in parse_requirements(
"requirements.txt",
session="setup.py")]
setup(
name='horsemeat',
author="216 Software, LLC",
author_email="[email protected]",
url="https://GitHub.com/216software/horsemeat",
description='Web framework for the damned. The mad.',
version=__version__,
packages=find_packages(),
include_package_data=True,
# package_dir={'horsemeat': 'horsemeat'},
install_requires=requirements,
use_2to3=True,
# test_suite="horsemeat.tests",
test_suite="nose.collector",
# test_suite="horsemeat",
classifiers=[
'Programming Language :: Python :: 3'
],
scripts=[
"horsemeat/scripts/make-frippery-project",
],
)