示例#1
0
    use_setuptools()
    from setuptools import setup, find_packages

import smartfields
import os, sys

def read(fname):
    path = os.path.join(os.path.dirname(__file__), fname)
    if sys.version < '3':
        return open(path).read()
    return open(path, encoding="utf-8").read()


setup(
    name='django-smartfields',
    version=smartfields.get_version(),
    packages=find_packages(),
    description="Django Model Fields that are smart.",
    long_description='%s\n\n%s' % (read('README.rst'), read('CHANGELOG.rst')),
    author='Alexey Kuleshevich',
    author_email='*****@*****.**',
    license='MIT License',
    url='https://github.com/lehins/django-smartfields',
    platforms=["any"],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
示例#2
0
    use_setuptools()
    from setuptools import setup, find_packages

import smartfields
import os, sys


def read(fname):
    path = os.path.join(os.path.dirname(__file__), fname)
    if sys.version < '3':
        return open(path).read()
    return open(path, encoding="utf-8").read()


setup(name='django-smartfields',
      version=smartfields.get_version(),
      packages=find_packages(),
      description="Django Model Fields that are smart.",
      long_description='%s\n\n%s' %
      (read('README.rst'), read('CHANGELOG.rst')),
      author='Alexey Kuleshevich',
      author_email='*****@*****.**',
      license='MIT License',
      url='https://github.com/lehins/django-smartfields',
      platforms=["any"],
      classifiers=[
          'Development Status :: 4 - Beta', 'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English', 'Operating System :: OS Independent',
          'Programming Language :: Python',
示例#3
0
# The encoding of source files.
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = "index"

# General information about the project.
project = u"django-smartfields"
copyright = u"2015, Alexey Kuleshevich"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = smartfields.get_version()
# The full version, including alpha/beta/rc tags.
release = smartfields.get_version()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
# today = ''
# Else, today_fmt is used as the format for a strftime call.
# today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
示例#4
0
# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'django-smartfields'
copyright = u'2015, Alexey Kuleshevich'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = smartfields.get_version()
# The full version, including alpha/beta/rc tags.
release = smartfields.get_version()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.