Changeset 2755f28 in trunk
- Timestamp:
- 2008-01-01T06:28:31Z (18 years ago)
- Branches:
- master
- Children:
- 9b38eeb
- Parents:
- 58bedc6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified Makefile ¶
r58bedc6 r2755f28 63 63 .PHONY: make-version build 64 64 65 # The 'darcsver' executable comes in the 'pyutil' package:66 # http://pypi.python.org/pypi/ pyutilIt is necessary only if you want to65 # The 'darcsver' setup.py command comes in the 'darcsver' package: 66 # http://pypi.python.org/pypi/darcsver It is necessary only if you want to 67 67 # automatically produce a new _version.py file from the current darcs history. 68 # N.B.: the first argument to darcsver is used to find darcs tags that represent69 # released versions, so it needs to match whatever release conventions are in70 # use.71 68 make-version: 72 darcsver "allmydata-tahoe" "src/allmydata/_version.py"69 $(PYTHON) ./setup.py darcsver 73 70 74 71 .built: -
TabularUnified setup.py ¶
r58bedc6 r2755f28 78 78 79 79 80 # Build _version.py before trying to extract a version from it. If we aren't81 # running from a darcs checkout, this will leave any pre-existing _version.py82 # alone.83 try:84 (cin, cout, cerr,) = os.popen3("darcsver --quiet allmydata-tahoe src/allmydata/_version.py")85 print cout.read()86 except Exception, le:87 pass88 80 VERSIONFILE = "src/allmydata/_version.py" 89 81 verstr = "unknown" … … 109 101 majority of the nodes are no longer available.""" 110 102 103 setup_requires = [] 104 105 # darcsver is needed only if you want "./setup.py darcsver" to write a new 106 # version stamp in src/allmydata/_version.py, with a version number derived from 107 # darcs history. 108 # http://pypi.python.org/pypi/darcsver 109 setup_requires.append('darcsver >= 1.0.0') 110 111 # setuptools_darcs is required only if you want to use "./setup.py sdist", 112 # "./setup.py bdist", and the other "dist" commands -- it is necessary for them 113 # to produce complete distributions, which need to include all files that are 114 # under darcs revision control. 115 # http://pypi.python.org/pypi/setuptools_darcs 116 setup_requires.append('setuptools_darcs >= 1.0.5') 117 111 118 setup(name='allmydata-tahoe', 112 119 version=verstr, … … 123 130 install_requires=install_requires, 124 131 include_package_data=True, 125 setup_requires= ['setuptools_darcs >= 1.0.5', 'pyutil >= 1.3.8'], # pyutil is for darcsver132 setup_requires=setup_requires, 126 133 dependency_links=dependency_links, 127 134 entry_points = { 'console_scripts': [ 'tahoe = allmydata.scripts.runner:run' ] },
Note: See TracChangeset
for help on using the changeset viewer.