mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 19:29:28 +00:00
Merge pull request #3 from sprockets/more-packaging-woes
More packaging woes
This commit is contained in:
commit
b0712e7ef2
5 changed files with 11 additions and 9 deletions
|
@ -3,6 +3,10 @@
|
|||
Release History
|
||||
===============
|
||||
|
||||
`0.2.2`_ (23 Jul 2015)
|
||||
----------------------
|
||||
- Fixed requirements management... why is packaging so hard?!
|
||||
|
||||
`0.2.1`_ (23 Jul 2015)
|
||||
----------------------
|
||||
- Corrected packaging metadata
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
-rinstallation.txt
|
||||
-rtesting.txt
|
||||
sphinx>=1.2,<2
|
||||
sphinxcontrib-httpdomain>=1.3,<2
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
-rinstallation.txt
|
||||
nose>=1.3.1,<2
|
||||
|
|
10
setup.py
10
setup.py
|
@ -17,18 +17,16 @@ def read_requirements(filename):
|
|||
if '#' in line:
|
||||
line = line[:line.index('#')]
|
||||
line = line.strip()
|
||||
if line.startswith('-r'):
|
||||
line = line[2:].strip()
|
||||
requirements.extend(read_requirements(filename))
|
||||
else:
|
||||
if line.startswith('-'):
|
||||
pass
|
||||
requirements.append(line)
|
||||
except IOError:
|
||||
pass
|
||||
return requirements
|
||||
|
||||
|
||||
requirements = read_requirements('installation')
|
||||
tests_require = read_requirements('testing')
|
||||
requirements = read_requirements('installation.txt')
|
||||
tests_require = read_requirements('testing.txt')
|
||||
|
||||
setuptools.setup(
|
||||
name='sprockets.http',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import os
|
||||
|
||||
|
||||
version_info = (0, 2, 1)
|
||||
version_info = (0, 2, 2)
|
||||
__version__ = '.'.join(str(v) for v in version_info)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue