Skip to content

Commit

Permalink
Merge pull request authomatic#2 from izhigalko/master
Browse files Browse the repository at this point in the history
Fix scripts dir again
  • Loading branch information
Kreozot authored Mar 26, 2019
2 parents 5e1096c + 2630d55 commit 4969343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

15 changes: 4 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from distutils.command.install import install
from distutils.command.install_data import install_data
from distutils.command.build_scripts import build_scripts
from setuptools import setup, find_packages
import hashlib
import os
import platform
Expand All @@ -9,11 +9,6 @@
import sys
import zipfile

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

try:
from urllib import request
except ImportError:
Expand Down Expand Up @@ -117,10 +112,10 @@ def _validate(self, zip_path):
def initialize_options(self):
super().initialize_options()
self.scripts_dir = None
self.data_files = []

def finalize_options(self):
self.set_undefined_options('build', ('build_scripts', 'scripts_dir'))
self.data_files = []
self.set_undefined_options('install', ('install_scripts', 'scripts_dir'))
super().finalize_options()

def run(self):
Expand Down Expand Up @@ -226,8 +221,6 @@ def run(self):
'Topic :: System :: Installation/Setup',
],
license='MIT',
package_data={'': ['*.txt', '*.rst']},
# If packages is empty, contents of ./build/lib will not be copied!
packages=['chromedriver_installer'],
packages=find_packages(),
cmdclass=dict(install_chrome_driver=InstallChromeDriver, install=Install)
)

0 comments on commit 4969343

Please sign in to comment.