Fix project for use within virtualenv

- Use /usr/bin/env to determine path to python3 instead of a hard-coded
  path, so that virtualenv stubs work properly.
- Change package name to 'boxes' ('boxes.py' did not work within
  virtualenv).
This commit is contained in:
Marius Bergmann 2016-07-11 23:01:57 +02:00
parent f3892b11b4
commit 4b487014d0
25 changed files with 26 additions and 26 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) 2013-2016 Florian Festi # Copyright (C) 2013-2016 Florian Festi
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2016 Florian Festi # Copyright (C) 2013-2016 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2016 Florian Festi # Copyright (C) 2016 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2013-2014 Florian Festi # Copyright (C) 2013-2014 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Copyright (C) 2016 Florian Festi # Copyright (C) 2016 Florian Festi
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
import argparse import argparse
import os import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
import sys import sys
import argparse import argparse

View File

@ -1,8 +1,8 @@
#!/usr/bin/python3 #!/usr/bin/env python3
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup(name='boxes.py', setup(name='boxes',
version='0.1', version='0.1',
description='Boxes generator for laser cutters', description='Boxes generator for laser cutters',
author='Florian Festi', author='Florian Festi',