mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-02 17:56:00 +00:00
Bumped version number
This commit is contained in:
parent
c0d7934986
commit
1d525b4dc5
5 changed files with 24 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,6 +1,8 @@
|
|||
docs/_build
|
||||
build
|
||||
dist
|
||||
env
|
||||
hashindex.c
|
||||
*.egg-info
|
||||
*.pyc
|
||||
*.pyo
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
# This is a python package
|
||||
|
||||
__version__ = '0.5'
|
||||
__release__ = __version__ + 'dev'
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
import sys, os, darc
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
|
@ -48,9 +48,9 @@
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '0.1'
|
||||
version = darc.__release__
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.1'
|
||||
release = darc.__release__
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
2
setup.cfg
Normal file
2
setup.cfg
Normal file
|
@ -0,0 +1,2 @@
|
|||
[egg_info]
|
||||
tag_build = dev
|
17
setup.py
17
setup.py
|
@ -3,6 +3,16 @@
|
|||
import os
|
||||
import sys
|
||||
from glob import glob
|
||||
import darc
|
||||
|
||||
min_python = (2, 5)
|
||||
if sys.version_info < min_python:
|
||||
print "Darc requires Python %d.%d or later" % min_python
|
||||
sys.exit(1)
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
print "Darc doesn't support Python 3 (yet)"
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
import Cython
|
||||
|
@ -17,6 +27,7 @@
|
|||
try:
|
||||
from Cython.Distutils import build_ext
|
||||
import Cython.Compiler.Main as cython_compiler
|
||||
|
||||
class Sdist(sdist):
|
||||
def __init__(self, *args, **kwargs):
|
||||
for src in glob('darc/*.pyx'):
|
||||
|
@ -43,17 +54,17 @@ def make_distribution(self):
|
|||
|
||||
|
||||
setup(name='darc',
|
||||
version='0.1',
|
||||
version=darc.__version__,
|
||||
author='Jonas Borgström',
|
||||
author_email='jonas@borgstrom.se',
|
||||
url='http://github.com/jborg/darc/',
|
||||
packages=['darc'],
|
||||
cmdclass = {'build_ext': build_ext, 'sdist': Sdist},
|
||||
cmdclass={'build_ext': build_ext, 'sdist': Sdist},
|
||||
ext_modules=[
|
||||
Extension('darc._speedups', ['darc/_speedups.c']),
|
||||
Extension('darc.hashindex', hashindex_sources)],
|
||||
install_requires=dependencies,
|
||||
entry_points = {
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'darc = darc.archiver:main',
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue