Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
A
astor
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
astor
Commits
9d2eac5c
Kaydet (Commit)
9d2eac5c
authored
Mar 13, 2018
tarafından
KOLANICH
Kaydeden (comit)
Berker Peksag
Mar 24, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Started using setup.cfg instead of setup.py for metadata storage.
üst
5558467e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
37 deletions
+55
-37
setup.cfg
setup.cfg
+42
-0
setup.py
setup.py
+13
-37
No files found.
setup.cfg
Dosyayı görüntüle @
9d2eac5c
[metadata]
name = astor
description = Read/rewrite/write Python ASTs
long_description = file:README.rst
author = Patrick Maupin
email = pmaupin@gmail.com
platforms = Independent
url = https://github.com/berkerpeksag/astor
license = BSD-3-Clause
keywords = ast, codegen, PEP 8
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: Implementation
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Compilers
[options]
zip_safe = True
include_package_data = True
packages = find:
[options.packages.find]
exclude = tests
[wheel]
universal = 1
[build-system]
requires = ['setuptools', 'wheel']
setup.py
Dosyayı görüntüle @
9d2eac5c
from
setuptools
import
setup
,
find_packages
import
sys
import
os
from
setuptools
import
setup
from
setuptools.config
import
read_configuration
from
setuputils
import
find_version
this_dir
=
os
.
path
.
dirname
(
__file__
)
from
setuputils
import
find_version
,
read
def
here
(
*
paths
):
return
os
.
path
.
join
(
this_dir
,
*
paths
)
setup
(
name
=
'astor'
,
version
=
find_version
(
'astor/__init__.py'
),
description
=
'Read/rewrite/write Python ASTs'
,
long_description
=
read
(
'README.rst'
),
author
=
'Patrick Maupin'
,
author_email
=
'pmaupin@gmail.com'
,
platforms
=
'Independent'
,
url
=
'https://github.com/berkerpeksag/astor'
,
packages
=
find_packages
(
exclude
=
[
'tests'
]),
py_modules
=
[
'setuputils'
],
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Environment :: Console'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: BSD License'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python'
,
'Programming Language :: Python :: 2'
,
'Programming Language :: Python :: 2.6'
,
'Programming Language :: Python :: 2.7'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.3'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.5'
,
'Programming Language :: Python :: 3.6'
,
'Programming Language :: Python :: Implementation'
,
'Programming Language :: Python :: Implementation :: CPython'
,
'Programming Language :: Python :: Implementation :: PyPy'
,
'Topic :: Software Development :: Code Generators'
,
'Topic :: Software Development :: Compilers'
,
],
keywords
=
'ast, codegen, PEP8'
,
)
config
=
read_configuration
(
here
(
'setup.cfg'
))
config
[
'metadata'
][
'version'
]
=
find_version
(
here
(
'astor'
,
'__init__.py'
))
config
[
'options'
]
.
update
(
config
[
'metadata'
])
config
=
config
[
'options'
]
setup
(
**
config
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment