forked from leeping/forcebalance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
27 lines (27 loc) · 1.22 KB
/
setup.cfg
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
#-----
# Change setuptools behavior
# LPW: This took a long time to figure out.
#-----
# The default behavior of setup.py is to install the package to an egg folder such as:
# forcebalance-v1.3.2_143-py2.7-linux-x86_64.egg
#
# This caused a lot of annoying problems, the least of which "eggs" were strewn everywhere
# because the version number would be updated on every commit! This is why I removed the commit
# number from the installed version number.
#
# Setuptools provides two ways around this. By providing the following command line arguments,
# it will install the base package and an "egg-info" folder.
# It also provides a list of installed files. This is much less annoying.
# sys.argv.append('--single-version-externally-managed')
# sys.argv.append('--record=installed_files.txt')
# I think this accomplishes something similar, although the name of the option
# makes it sound like a bad idea.
# sys.argv.append('--old-and-unmanageable')
#
# However, if you do this, it disables the automatic dependency installation, which is why
# I wanted to use setuptools in the first place. Thus, if you want simple manual installation,
# uncomment below.
#
# [install]
# single-version-externally-managed=1
# record=installed_files.txt