~storm/storm/trunk

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
#!/usr/bin/env python3importosimportrefromsetuptoolsimportsetup,Extension,find_packagesifos.path.isfile("MANIFEST"):os.unlink("MANIFEST")BUILD_CEXTENSIONS=Truewithopen("storm/__init__.py")asinit_py:VERSION=re.search('version = "([^"]+)"',init_py.read()).group(1)withopen("README")asreadme:long_description=readme.read()tests_require=["fixtures >= 1.3.0","mysqlclient","pgbouncer >= 0.0.7","postgresfixture","psycopg2 >= 2.3.0","testresources >= 0.2.4","testtools >= 0.9.8","timeline >= 0.0.2","transaction >= 1.0.0","Twisted >= 10.0.0","zope.component >= 3.8.0","zope.configuration","zope.interface >= 4.0.0","zope.security >= 3.7.2",]setup(name="storm",version=VERSION,description=("Storm is an object-relational mapper (ORM) for Python ""developed at Canonical."),long_description=long_description,long_description_content_type="text/x-rst",author="Gustavo Niemeyer",author_email="gustavo@niemeyer.net",maintainer="Storm Developers",maintainer_email="storm@lists.canonical.com",license="LGPL",url="https://storm.canonical.com",download_url="https://launchpad.net/storm/+download",packages=find_packages(),package_data={"":["*.zcml"]},classifiers=["Development Status :: 5 - Production/Stable","Intended Audience :: Developers",("License :: OSI Approved :: GNU Library or ""Lesser General Public License (LGPL)"),"Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.6","Programming Language :: Python :: 3.7","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12","Programming Language :: Python :: 3.13","Topic :: Database","Topic :: Database :: Front-Ends","Topic :: Software Development :: Libraries :: Python Modules",],ext_modules=(BUILD_CEXTENSIONSand[Extension("storm.cextensions",["storm/cextensions.c"])]),# The following options are specific to setuptools but ignored (with a# warning) by distutils.include_package_data=True,zip_safe=False,python_requires=">=3.6",install_requires=["packaging >= 14.1"],test_suite="storm.tests.find_tests",tests_require=tests_require,extras_require={"doc":["fixtures",# so that storm.testing can be imported"sphinx","sphinx-epytext",],"test":tests_require,},)
close