nficano commited on
Commit
4d8ed3e
·
1 Parent(s): 68eac13

Reorganized, rewrote setup.py using distutils.

Browse files
pytube/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
  __title__ = 'pytube'
2
- __version__ = '0.1.0'
3
  __author__ = 'Nick Ficano'
4
  __license__ = 'MIT License'
5
  __copyright__ = 'Copyright 2013 Nick Ficano'
 
1
  __title__ = 'pytube'
2
+ __version__ = '0.1.14'
3
  __author__ = 'Nick Ficano'
4
  __license__ = 'MIT License'
5
  __copyright__ = 'Copyright 2013 Nick Ficano'
pytube/bin/__init__.py ADDED
File without changes
pytube/{cli.py → bin/pytube.py} RENAMED
@@ -1,9 +1,11 @@
 
 
1
  import sys
2
  import argparse
3
 
4
- from .api import YouTube
5
- from .utils import print_status
6
- from .exceptions import YouTubeError
7
 
8
 
9
  def _main():
 
1
+ #!/usr/bin/env python
2
+
3
  import sys
4
  import argparse
5
 
6
+ from pytube.api import YouTube
7
+ from pytube.utils import print_status
8
+ from pytube.exceptions import YouTubeError
9
 
10
 
11
  def _main():
setup.py CHANGED
@@ -1,39 +1,24 @@
1
  #!/usr/bin/env python
2
 
3
- import os
4
- from setuptools import setup
5
 
6
  packages = [
7
  'pytube'
8
  ]
9
 
10
- requires = []
11
-
12
-
13
- def read(fname):
14
- return open(os.path.join(os.path.dirname(__file__), fname)).read()
15
-
16
  setup(
17
  name="pytube",
18
- version="0.1.12",
19
- description="",
 
20
  author="Nick Ficano",
21
  author_email="[email protected]",
22
- url="http://pytube.nickficao.com",
23
  packages=packages,
24
- package_data={'': ['LICENSE']},
25
- package_dir={'pytube': 'pytube'},
26
- download_url="https://github.com/NFicano/pytube/tarball/0.1.12",
27
- include_package_data=True,
28
- install_requires=requires,
29
- license=open("LICENSE").read(),
30
-
31
- use_2to3=True,
32
- entry_points={
33
- "console_scripts": [
34
- "pytube=pytube:_main",
35
- ]},
36
- long_description=open('README.md').read(),
37
  classifiers=[
38
  "Development Status :: 4 - Beta",
39
  "Environment :: Console",
@@ -46,5 +31,7 @@ setup(
46
  "Programming Language :: Python :: 3.0",
47
  "Topic :: Software Development :: Libraries :: Python Modules",
48
  "Topic :: Utilities",
 
 
49
  ],
50
  )
 
1
  #!/usr/bin/env python
2
 
3
+ from distutils.core import setup
4
+ import pytube
5
 
6
  packages = [
7
  'pytube'
8
  ]
9
 
 
 
 
 
 
 
10
  setup(
11
  name="pytube",
12
+ version=pytube.__version__,
13
+ description="A simple, yet versatile package for downloading " \
14
+ "YouTube videos.",
15
  author="Nick Ficano",
16
  author_email="[email protected]",
17
+ url="http://pytube.nickficano.com",
18
  packages=packages,
19
+ download_url="https://github.com/NFicano/pytube/tarball/0.1.14",
20
+ license="MIT License",
21
+ scripts = ['pytube/bin/pytube.py'],
 
 
 
 
 
 
 
 
 
 
22
  classifiers=[
23
  "Development Status :: 4 - Beta",
24
  "Environment :: Console",
 
31
  "Programming Language :: Python :: 3.0",
32
  "Topic :: Software Development :: Libraries :: Python Modules",
33
  "Topic :: Utilities",
34
+ "Topic :: Internet",
35
+ "Topic :: Multimedia :: Video"
36
  ],
37
  )