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
|
Release History
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
`0.2.2`_ (23 Jul 2015)
|
||||||
|
----------------------
|
||||||
|
- Fixed requirements management... why is packaging so hard?!
|
||||||
|
|
||||||
`0.2.1`_ (23 Jul 2015)
|
`0.2.1`_ (23 Jul 2015)
|
||||||
----------------------
|
----------------------
|
||||||
- Corrected packaging metadata
|
- Corrected packaging metadata
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
-rinstallation.txt
|
||||||
-rtesting.txt
|
-rtesting.txt
|
||||||
sphinx>=1.2,<2
|
sphinx>=1.2,<2
|
||||||
sphinxcontrib-httpdomain>=1.3,<2
|
sphinxcontrib-httpdomain>=1.3,<2
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
-rinstallation.txt
|
|
||||||
nose>=1.3.1,<2
|
nose>=1.3.1,<2
|
||||||
|
|
12
setup.py
12
setup.py
|
@ -17,18 +17,16 @@ def read_requirements(filename):
|
||||||
if '#' in line:
|
if '#' in line:
|
||||||
line = line[:line.index('#')]
|
line = line[:line.index('#')]
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if line.startswith('-r'):
|
if line.startswith('-'):
|
||||||
line = line[2:].strip()
|
pass
|
||||||
requirements.extend(read_requirements(filename))
|
requirements.append(line)
|
||||||
else:
|
|
||||||
requirements.append(line)
|
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
return requirements
|
return requirements
|
||||||
|
|
||||||
|
|
||||||
requirements = read_requirements('installation')
|
requirements = read_requirements('installation.txt')
|
||||||
tests_require = read_requirements('testing')
|
tests_require = read_requirements('testing.txt')
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='sprockets.http',
|
name='sprockets.http',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
version_info = (0, 2, 1)
|
version_info = (0, 2, 2)
|
||||||
__version__ = '.'.join(str(v) for v in version_info)
|
__version__ = '.'.join(str(v) for v in version_info)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue