tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

setup.py (1631B)


      1 # Copyright (c) 2014-2017 Matthias C. M. Troffaes
      2 # Copyright (c) 2012-2014 Antoine Pitrou and contributors
      3 # Distributed under the terms of the MIT License.
      4 
      5 import io
      6 from setuptools import setup, find_packages
      7 
      8 
      9 def readfile(filename):
     10    with io.open(filename, encoding="utf-8") as stream:
     11        return stream.read().split("\n")
     12 
     13 
     14 readme = readfile("README.rst")[5:]  # skip title and badges
     15 version = readfile("VERSION")[0].strip()
     16 
     17 setup(
     18    name='pathlib2',
     19    version=version,
     20    packages=find_packages(),
     21    license='MIT',
     22    description='Object-oriented filesystem paths',
     23    long_description="\n".join(readme[2:]),
     24    author='Matthias C. M. Troffaes',
     25    author_email='matthias.troffaes@gmail.com',
     26    classifiers=[
     27        'Development Status :: 5 - Production/Stable',
     28        'Intended Audience :: Developers',
     29        'License :: OSI Approved :: MIT License',
     30        'Operating System :: OS Independent',
     31        'Programming Language :: Python',
     32        'Programming Language :: Python :: 2',
     33        'Programming Language :: Python :: 3',
     34        'Programming Language :: Python :: 2.6',
     35        'Programming Language :: Python :: 2.7',
     36        'Programming Language :: Python :: 3.4',
     37        'Programming Language :: Python :: 3.5',
     38        'Programming Language :: Python :: 3.6',
     39        'Programming Language :: Python :: 3.7',
     40        'Topic :: Software Development :: Libraries',
     41        'Topic :: System :: Filesystems',
     42        ],
     43    url='https://github.com/mcmtroffaes/pathlib2',
     44    install_requires=['six'],
     45    extras_require={
     46        ':python_version<"3.5"': ['scandir'],
     47        },
     48 )